View/Edit #6397:misc

Switch to edit mode.

Name(s): misc
1:  "Copied from 007 (#3341):misc Aug 28 17:11:45 1998"
2:  if (player != this.owner)
3:    return player:tell("You don't own this room.")
4:  endif
5:  player:tell("[", this.name, "]: Miscellaneous")
6:  player:tell("[1] Banned Persons")
7:  player:tell("[2] Add Banned Person")
8:  player:tell("[3] Remove Banned Person")
9:  player:tell("[9] Back to Main Menu")
10: player:tell("[0] Exit")
11: pr = $cmd_utils:read("your choice")
12: if (pr == "1")
13:   force_input(player, "@banned")
14: elseif (pr == "2")
15:   bad = $cmd_utils:read("player's name")
16:   force_input(player, "@addban " + bad)
17: elseif (pr == "3")
18:   bad = $cmd_utils:read("player's name")
19:   force_input(player, "@rmban " + bad)
20: elseif (pr == "9")
21:   this:computer()
22: elseif (pr == "0")
23:   return player:tell("Finished.")
24: else
25:   player:tell("Invalid selection.")
26:   this:computer()
27: endif

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: James (#6397)

You are not logged in.

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