View/Edit #12:@last-tb @last-tr*aceback

Switch to edit mode.

Name(s): @last-tb @last-tr*aceback
1:  "@last-tb [<player>]"
2:  "@last-tb on/for [<player>]"
3:  "Prints the last traceback which the player received."
4:  set_task_perms(player)
5:  who = this
6:  if (dobjstr && $command_utils:player_match_failed(who = this:match_entity(dobjstr), dobjstr))
7:    return
8:  elseif (iobjstr && $command_utils:player_match_failed(who = this:match_entity(iobjstr), iobjstr))
9:    return
10: endif
11: if (typeof(x = `who.last_tb ! ANY') == $ERR)
12:   player:tell(x)
13: elseif (who.last_tb)
14:   player:tell(who.name + "'s last recorded traceback was at " + ctime(who.last_tb[2][1][2]) + ":")
15:   player:tell($su:space(player:linelength(), "-"))
16:   player:tell(who.last_tb[2][1][1])
17:   player:tell($su:space(player:linelength(), "-"))
18: else
19:   player:tell(who.name + " has no recorded tracebacks.")
20: endif
21: "Last modified by Dax (#789) on Tue May  3 13:45:55 2005 MDT."

Verb arguments: any any any
Verb perms: Readable NOT-Debug
Verb owned by: Dax (#789)

You are not logged in.

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