View/Edit #7248:hourly_index

Switch to edit mode.

Name(s): hourly_index
1:  if (caller != this && caller != $clock && !$perm_utils:controls(player, this))
2:    return E_PERM
3:  elseif (this:length_all_msgs() == 0)
4:  else
5:    this.headers = {}
6:    messages = this:new_message_num() - 1
7:    firstmsg = messages - this:length_all_msgs() + 1
8:    for x in [firstmsg..messages]
9:      check = tostr("message.", $string_utils:right(tostr(x), 5, "0"))
10:     if (this:fileexists(check))
11:       this.headers = {@this.headers, this:headers_in_seq(x)}
12:     endif
13:     $command_utils:suspend_if_needed(0)
14:   endfor
15: endif
16: "Last modified by Avenger (#8219) on Tue Sep 24 22:35:40 2002 MDT."

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

You are not logged in.

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