Handling cards as well:

getProp uRuggedID
  get the long id of the target
  if word 1 of it is "card" then return word 1 to 3 of it
if "card" is among the words of it then return (word 1 to 3 of it && word -7 to -4 of it)
  return word 1 to 3 of it
end uRuggedID

getProp uRuggedLongID
  get the long id of the target
  if word 1 of it is among the words of "card stack" then return it
if "card" is among the words of it then return (word 1 to 3 of it && word -7 to -1 of it)
  return (word 1 to 3 of it && word -3 to -1 of it)
end uRuggedLongID
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to