From RPTools WikiJump to navigationJump to search
• Introduced in version 1.3b48
Returns the location of the macro being executed, the return value will be
"campaign"or the label of the token the macro resides on (e.g.
"Token:Orc".) Standard PC and NPC tokens will have their label prefixed with
[h: MacroLocation = getMacroLocation()] [if(MacroLocation == "chat", "You are running from chat", "You are running from "+MacroLocation]
- 1.3b51 - Now accurately reports where the macro button resides.