TinTin++ Mud Client Manual
Local
space
Syntax: #local {variable name} {string}
space
The local command sets a local variable. Unlike a regular variable a local variable will only stay in memory for the duration of the event that created it. They are accessed in the same way as a regular variable.
space
Commands that store information to a variable will use a local variable if it exists.
space
Avoid setting the result variable as local in a function as it's likely to result in peculiar behavior.
space
Example: #alias {swap} {#local x %0;#replace x {e} {u};#showme $x}
space
See also: Format, Function, Math, Replace, Script and Variable.
space