Change that line to:

Code:
write afk.tmp %name is away $chr(40) $+ $gettok(%data,1- $calc($gettok(%data,0,32) -1),32) $+ $chr(41) since $time($gettok(%data,$gettok(%data,0,32),32)) on $date($gettok(%data,$gettok(%data,0,32),32)) $+ .



Notice that $time now matches what I originally gave you before you edited it for date.


Invision Support
#Invision on irc.irchighway.net