View/Edit #1720:clear

Switch to edit mode.

Name(s): clear
1:  if (!player:controls(this))
2:    return E_PERM
3:  endif
4:  if ($cmd_utils:yes_or_no("This will erase all recorded data.  Are you sure? "))
5:    this.recorded = {}
6:    player:tell("You clear ", this.name, ".")
7:    player.location:announce(player.name, " clears ", this.name, ".")
8:  else
9:    player:tell("NOT erased.")
10: endif

Verb arguments: this none none
Verb perms: Readable NOT-Debug
Verb owned by: Gixxer (#7446)

You are not logged in.

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