Added in v2.12


Syntax: %priority(name,type,newvalue)

return or sets the priority of a setting. name is the name of the setting to retrieve or change. The type argument can be used to specify the type of the setting in cases where different settings use the same name (such as a class or trigger with the same name).

If newvalue is specified, then it is set as the new priority of the given setting. The previous priority is returned.


#TRIGGER "autosplit" {You get (%d) coins} {split %1}
#SHOW %priority("autosplit")
#CALL %priority("autosplit","trigger",10)
#SHOW %priority("autosplit")

Displays the initial priority of the trigger and then sets the priority to 10.

Add comment

Login or register to post comments