User:Verisimilar: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) mNo edit summary |
Verisimilar (talk | contribs) mNo edit summary |
||
Line 15: | Line 15: | ||
The following macro functions can now accept an optional last parameter which is the token to get the the information from or to modify. You can only specify the token if the macro is trusted. | The following macro functions can now accept an optional last parameter which is the token to get the the information from or to modify. You can only specify the token if the macro is trusted. | ||
* getSize([id]) | * getSize([id]) | ||
* setSize(size [,id]) | * setSize(size [,id]) |
Revision as of 03:24, 31 March 2009
List of function that aren't highlighting properly
assert pow
Keeping track of in-progress version updates
1.3b49
you can now use <link rel='onChangeToken' type='macro' href='linkToMacro'>
1.3b51
Macro Functions that can reference other tokens The following macro functions can now accept an optional last parameter which is the token to get the the information from or to modify. You can only specify the token if the macro is trusted.
* getSize([id]) * setSize(size [,id]) * getOwners(delim [, id]) * isOwnedByAll(delim [,id]) * isOwner(player [, id]) * resetProperty(prop [, id])] * setProperty(name, val [, id]) * getProperty(name [, id]) * isPropertyEmpty(name [, id]) * bringToFrong([id]) * sendToBack([id]) * getLabel([id]) * setLabel([id])
Assert function.
Assert now has an optional 3rd argument assert(test, message [, showPrefix])
If a 0 is passed the message prefix for the assert error "Macro defined error: "
is not displayed
json.contains now works for json arrays and not only for json objects.