User:Verisimilar: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[/Sandbox]]
==Basics==
Known as zEal on the [http://forums.rptools.net/ RPTools Forums]


===List of function that aren't highlighting properly===
==Subpages==
assert
* [[/Sandbox]] - Where I play with stuff.
pow
* [[/Projects]] - Where I keep track of wiki projects I'm working on, or notes related to such projects.


===Keeping track of in-progress version updates===
==Stuff I've Created==
1.3b49
* [[Queued Conditional Output]] Cookbook Macros<br>
 
* [[Custom Robust eval Function|Zero-Proof eval()]] Cookbook Macros<br>
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.

Latest revision as of 18:28, 2 May 2023

Basics

Known as zEal on the RPTools Forums.

Subpages

  • /Sandbox - Where I play with stuff.
  • /Projects - Where I keep track of wiki projects I'm working on, or notes related to such projects.

Stuff I've Created