Adds AFK markers and timers to all players in "who", can be seen by admins and moderators.

This commit is contained in:
Jon
2016-03-16 15:55:46 +00:00
parent f5aaefbeec
commit 5211331ea5
+7
View File
@@ -41,6 +41,13 @@
if(is_special_character(C.mob))
entry += " - <b><font color='red'>Antagonist</font></b>"
if(C.is_afk())
var/seconds = C.last_activity_seconds()
entry += " (AFK - "
entry += "[round(seconds / 60)] minutes, "
entry += "[seconds % 60] seconds)"
entry += " (<A HREF='?_src_=holder;adminmoreinfo=\ref[C.mob]'>?</A>)"
Lines += entry
else