Mmucl Procedure

Name

exec_alias - Execute an alias

Synopsis

exec_alias name ?args ...?

Description

Exec_alias is the only way to execute aliases in a script. It executes alias name, passing any additional arguments to name.

Example

alias doh {writemud "I hate it when %0 kill me"}
action {([a-z ]+) kills you.} {bell; exec_alias doh %1}

"Bear kills you" will then result in a beep and you saying "I hate it when Bear kills me" Tk has to be loaded with loadTk for the bell command to work.

See Also

alias


Home