View/Edit #8259:@mute @unmute*-fully

Switch to edit mode.

Name(s): @mute @unmute*-fully
1:  if (!caller:controls(this))
2:    return player:tell(E_PERM)
3:  endif
4:  if (verb == "@mute")
5:    this.muted = 1
6:  elseif (verb == "@unmute")
7:    this.muted = 0
8:  else
9:    this.muted = -1
10: endif
11: player:tell("You will ", this.muted == 1 ? "no longer " | "", "receive messages sent to ", this:title(), this.muted == -1 ? " even if you are in the same room." | ".")
12: "Last modified by Cecil (#7407) on Tue Aug 27 14:06:29 2002 MDT."

Verb arguments: this none none
Verb perms: Readable NOT-Debug
Verb owned by: Cecil_Stuff (#9988)

You are not logged in.

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