View/Edit #6319:@is*olate

Switch to edit mode.

Name(s): @is*olate
1:  if (this.isolate)
2:    player:tell("Isolation mode off.")
3:    nm = this:length_all_msgs() - this:length_date_le(this:get_current_message()[2])
4:    if (nm)
5:      player:tell("You have new mail (", nm, ").")
6:    endif
7:    this:mail_catch_up()
8:    this:check_mail_lists()
9:    if (this.recorded)
10:     $msg:mtell("recorded", i = length(this.recorded), i > 1 ? "s" | "")
11:   endif
12: else
13:   player:tell("Isolation mode active.  You will no longer hear any pages, nor will you hear notification of any new mail.  For that extra effect, you can @plug-ears, too.")
14: endif
15: this.isolate = this.isolate ? 0 | 1

Verb arguments: none none none
Verb perms: Readable NOT-Debug
Verb owned by: Raptor (#6319)

You are not logged in.

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