Switch to edit mode.
Name(s): scan_12 scan_player1: {victim, tri} = args
2: "Get connection-related information:"
3: on = tri:ctime(victim.last_connect_time)
4: off = tri:ctime(victim.last_disconnect_time)
5: if (victim.last_connect_time < victim.last_disconnect_time)
6: sess = "Last On: " + on + " - " + off
7: else
8: sess = "Last Off: " + off + " - " + on
9: endif
10: web = victim.last_web_time ? {"Webbed: " + tri:ctime(victim.last_web_time)} | {}
11: fct = victim.first_connect_time
12: fctt = fct == $maxint ? "Never Connected" | tri:ctime(fct)
13: fct < $slacker.first_connect_time && (fctt = "Altered to " + fctt)
14: bday = `" (" + tri:ctime(victim.real_bday) + ")" ! E_PROPNF, E_PERM => ""'
15: return {sess, @web, "BDay: " + fctt + bday}