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. | ||
* setAllStates(val [,id]) | * setAllStates(val [,id]) | ||
* getVisible([id]) | * getVisible([id]) |
Revision as of 01:22, 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.
* setAllStates(val [,id]) * getVisible([id]) * setVisible(val [, id]) * getPropertyType([id]) * setPropertyType(type, [id]) * getPropertyNames([delim [, id]]) * hasProperty(name [, id]]) * isPC([id]) * isNPC([id]) * setPC([id]) * setNPC([id]) * getLayer([id]) * setLayer(layer [, id]) * 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.