Command: Set

Creates a mapping of an input word to a string of text. This can appear at any point in the input. If the variable is followed by an equal sign, then the expression is evaluated before the variable is set. All variable messages can be temporarily disabled with #set off. If the variable character is set then the variable must be enclosed by that symbol. Otherwise, it must be a whole word. An array can be indexed by putting a number or a variable inside of []s after the variable.
Usage:
#set [on | off]
#set [variable] [string]
#set [variable] = [expression]
[command] $variable$
Examples:
#set backstabber jeweled dagger
#alias {bs} {wield $backstabber$;backstab %0}
#set xp = 56236
#set next_xp = 100000
#set xpn = next_xp - xp
#set Total = A[x] + A[y]
See Also: Unset, Alias, If, Else, Expressions, String Functions