TinTin++ Mud Client Manual

Command: #local {variable name} {text to fill variable}

         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.

         Commands that store information to a variable will use a local variable
         if it exists.

         Avoid setting the result variable as local in a function.

Example: #alias {swap} {#local x %0;#replace x {e} {u};#show $x}

Related: format, function, math, replace, script and variable.