View/Edit #7420:check _kick

Switch to edit mode.

Name(s): check _kick
1:  "Begin generic security check (_kick)"
2:  if (verb == "_kick" && !args[1]:isa(this))
3:    raise(E_INVARG, "Illegal object", args[1])
4:    return E_INVARG
5:  endif
6:  "End generic security check (_kick)"
7:  for x in (this.lay)
8:    if (!(x in this.location.contents) || !(x in connected_players()))
9:      this.lay = setremove(this.lay, x)
10:   endif
11: endfor
12: "Last modified by Lao-Tzu (#8084) on Tue Dec 18 08:29:54 2001 MST."

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

You are not logged in.

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