Syntax: #script scriptlet_text
This command executes argument string as a potion of ActiveScript code. This cofde executes “as it”.
Example:
#script CheckMyStats()
#script DoPkill (‘Pnuk”)
#script bDoingBash = true
#action{%0 decays in your hands} {#script AddDecayList(“%0”)}
ATTENTION! Look at last sample. “ symbols is necessary (for most of script languages). Because, while doing this action resulting potion of code will be something like it: #script AddDecayList(“super sword”). Without “ symbols this causes syntax error.
See also: Scripting support in JMC. JMC object methods