View/Edit #2237:notify_spoof notify_time notify_wrap notify_cinfo

Switch to edit mode.

Name(s): notify_spoof notify_time notify_wrap notify_cinfo
1:  {caller = callers()[$][5], c_verb = callers()[$][2]}
2:  notify = {}
3:  {vs, ref} = {{"notify_spoof", "notify_time", "notify_cinfo"}, {11, 11, 24}}
4:  left_kill = (pos = verb in vs) ? ref[pos] | 0
5:  left = $eve:linelength() - left_kill
6:  for line in (args)
7:    nl = $stuff:ansiwrap(line, left)
8:    ticks_left() < 1000 || seconds_left() < 2 ? suspend(0) | 0
9:    for item in (nl)
10:     if (verb == "notify_spoof")
11:       nmsg = tostr($su:left(item, left), " : ", $su:right(player.name, 8))
12:     elseif (verb == "notify_time")
13:       nmsg = tostr($su:left(item, left), "   ", $su:right(ctime()[12..16], 8))
14:     elseif (verb == "notify_cinfo")
15:       nmsg = tostr($su:left(item, left), " ", $su:right(tostr(caller, ":", c_verb), 23))
16:     else
17:       "notify_wrap"
18:       nmsg = item
19:     endif
20:     notify = {@notify, nmsg}
21:   endfor
22: endfor
23: return notify
24: "Last modified by Janette (#2633) on Thu Aug  9 00:55:44 2001 MDT."

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

You are not logged in.

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