ID:155524
 
Well guys, I'm trying to show a symbol next to the mob in the Stat() proc. But I want the mob still to be right-clickable in the panel.
I've tried this, but it isn't working out.
mob/Stat()
statpanel(" ~~~~~ Who ~~~~~ ") //Who Panel
for(var/mob/C)
var/ACTIVE="\<.IMG CLASS=icon SRC=\ref\"Symbols.dmi\" ICONSTATE='ACTIVE'> [C]" //Without the . before IMG CLASS.
var/AFKSYM="\<.IMG CLASS=icon SRC=\ref\"Symbols.dmi\" ICONSTATE='AFK'> [C]" //Without the . before IMG CLASS.
if(C.client)
if(C.Hide == 0)
if(C.client.inactivity>300)
stat(AFKSYM)
else
stat(ACTIVE)


Any response is appreciated!

Yours truly, Raimo.