View/Edit #6565:announce*_all_but

Switch to edit mode.

Name(s): announce*_all_but
1:  "Copied from Generic Room (#6):announce by Hacker (#60)May 24 18:45:32 1998"
2:  if (verb == "announce")
3:    exclude = {player}
4:  elseif (verb == "announce_all_but")
5:    exclude = args[1]
6:    args = listdelete(args, 1)
7:  else
8:    exclude = {}
9:  endif
10: ploc = this:loc(player)
11: for o in (this:contents())
12:   $command_utils:suspend_if_needed()
13:   if (this:loc(o) == ploc)
14:     if (!(o in exclude))
15:       o:tell(tostr(@args))
16:     endif
17:   endif
18: endfor
19: "Last modified by Dax (#789) on Thu May  5 16:44:09 2005 MDT."

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]