View/Edit #12:@rm-macro @remove-macro

Switch to edit mode.

Name(s): @rm-macro @remove-macro
1:  if (player != this)
2:    return $msg:mtell("huh")
3:  endif
4:  if (argstr == "" || argstr[1] != "!" || length(args) > 1)
5:    return player:tell("Syntax: ", verb, " ![macro]")
6:  endif
7:  for y in (this.macros)
8:    if (y[1] == argstr[2..$])
9:      this.macros = setremove(this.macros, y)
10:     return player:tell("Macro removed.")
11:   endif
12: endfor
13: player:tell("That macro does not exist.  Type @macros for a list of macros.")
14: "Last modified by Dax (#789) on Mon Dec 10 21:34:08 2001 MST."

Verb arguments: any none none
Verb perms: Readable NOT-Debug
Verb owned by: Slacker (#55)

You are not logged in.

[home | help | who | search | setup | code]