sub - Define a sub or display defined subs.
action pattern ?replacement?
Subs replace a pattern in mud output with a string. Mmucl displays that substituted output. Two arguments define a sub. The first is a regexp pattern which is case sensitive. The second is a string in the form of a regsub subspec. (Consult your tcl docs.) Sub given one argument displays all the subs matching that glob pattern.
sub Dave "That moron Dave"
Text from the mud like "Dave looks at you." will turn into "That moron Dave looks at you."