View/Edit #7854:_confunc

Switch to edit mode.

Name(s): _confunc
1:  player.sleeping = 0
2:  "Copied from Tribal_Chant (#2338):_confunc Jul 18 23:10:26 1996"
3:  "Lots of misc junk added by BenC... damn."
4:  pass(@args)
5:  if (this.answering_machine == {})
6:    player:tell("There are no messages on your answering machine.")
7:  endif
8:  player.cool_name = "<font color=#379eff>C</font><font color=#69b6ff>y</font><font color=#9bceff>b</font><font color=#cde6ff>e</font><font color=#ffffff>r</font><font color=#cde7ff>S</font><font color=#9bcfff>p</font><font color=#69b7ff>e</font><font color=#379fff>e</font><font color=#0586ff>d</font>"
9:  if (this.answering_machine)
10:   for msg in (this.answering_machine)
11:     if (length(msg) == 2)
12:       player:tell("Message from ", msg[1].name, ":")
13:       player:tell(msg[2])
14:     else
15:       player:tell("Message from ", msg[1].name, " at ", player:ctime(msg[2]), ":")
16:       player:tell(msg[3])
17:     endif
18:   endfor
19:   this:tell("Done.")
20:   this.answering_machine = {}
21: endif
22: "$news:check()"
23: force_input(this, "@who")

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

You are not logged in.

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