View/Edit #12:@nn @nextnew

Switch to edit mode.

Name(s): @nn @nextnew
1:  "@nn - Next New"
2:  "Read the next new message on you or your subscribed mailing lists."
3:  set_task_perms(player)
4:  $mail_agent:mailread_semaphore_enter(this)
5:  {ng, msg} = $mail_agent:nextnew(player)
6:  $cmd_utils:suspend_if_needed(0)
7:  if (msg)
8:    this:set_current_folder(ng)
9:    this._mail_task = task_id()
10:   ng:display_seq_full({msg, msg + 1}, tostr("Message %d", " on ", $mail_agent:name(ng), ":"))
11:   this:set_current_message(ng, msg)
12: else
13:   this:tell($code_utils:verb_or_property(this, "silly_news_messages")[random($)])
14: endif
15: $mail_agent:mailread_semaphore_exit(this)
16: "Last modified by Lao-Tzu (#8084) on Wed Jul 24 18:58:10 2002 MDT."
17: "This verb previously owned by manta (#7165), and chowned to $slacker upon dewizarding (Sat Aug 17 14:50:04 2002 MDT)."
18: "Last modified by Cecil (#7407) on Tue Aug 27 19:30:18 2002 MDT."

Verb arguments: none none none
Verb perms: Readable NOT-Debug
Verb owned by: Slacker (#55)

You are not logged in.

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