View/Edit #2385:add

Switch to edit mode.

Name(s): add
1:  if (args[1] == "con")
2:    if ($command_utils:yes_or_no("Are you sure you want to add something bad about " + this:title() + "?"))
3:      what = $command_utils:read()
4:      this.con_desc = setadd(this.con_desc, what + " (" + player.name + " (" + tostr(player) + "))")
5:      this:tell(player.name + " (" + tostr(player) + ") has just added something bad to your list.")
6:    endif
7:  elseif (args[1] == "pro")
8:    what = $command_utils:read()
9:    this.pro_desc = setadd(this.pro_desc, what + " (" + player.name + " (" + tostr(player) + "))")
10:   this:tell(player.name + " (" + tostr(player) + ") has just added something good to your list.")
11: endif
12: "Last modified by Slackeur (#55) on Mon Dec 28 18:24:56 1998 MST."

Verb arguments: any at/to this
Verb perms: Readable NOT-Debug
Verb owned by: NiceGuy (#2385)

You are not logged in.

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