View/Edit #3310:accept

Switch to edit mode.

Name(s): accept
1:  "Check's to see who's allowed in, and who's not."
2:  if (!this:is_unlocked_for(who = args[1]))
3:    if (who:isa($player) && this.msg_entry_failed && this.msg_oentry_failed)
4:      who.owner:sub_tell(this.msg_entry_failed, this.name)
5:      this:sub_announce(this.msg_oentry_failed, this.name, who)
6:    endif
7:    return 0
8:  endif
9:  return 1
10: "Last modified by Raptor (#6319) on Wed Dec 29 21:57:34 1999 MST."

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

You are not logged in.

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