Switch to edit mode.
Name(s): receive_page1: if (this:is_listening())
2: if (!this.location:isa($editor))
3: this:sub_tell("**Page from %1**", player.name)
4: this:sub_tell(@args)
5: this:sub_tell("Shotest alias: %1", $list_utils:shortest(player.aliases))
6: return this:connected()
7: else
8: player:tell(this:title(), " is in the ", this.location:title(), ", your message will be recorded.")
9: this:tell("*** You have a new message from ", player:title(), ". ***")
10: this:answering_machine(@args)
11: endif
12: else
13: rc = pass(@args)
14: argstr = dobjstr = iobjstr = prepstr = ""
15: if (rc == 2)
16: while (`msg = $cmd_utils:yes_or_no(this:title(), " doesn't appear to be connected right now, would you like to leave a message?", 1) ! E_INVARG' == E_INVARG)
17: endwhile
18: if (!msg)
19: player:tell("Aborting!")
20: return
21: else
22: this:answering_machine(@args)
23: endif
24: endif
25: return rc
26: endif
27: "Last modified by Avator (#2168) on Wed Oct 6 23:34:16 1999 MDT."