View/Edit #2030:_enterfunc _exitfunc

Switch to edit mode.

Name(s): _enterfunc _exitfunc
1:  "Updates the list of contained players when anything enters or leaves."
2:  fork (1)
3:    this.who = {}
4:    for dude in (this.contents)
5:      if (is_player(dude))
6:        this.who = {@this.who, dude}
7:      endif
8:    endfor
9:    this.free_entry = !this.crowd || this.crowd > length(this.who)
10: endfork
11: return pass(@args)

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

You are not logged in.

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