@ no_body21
var %time_left = Unspecified
if ($timer( $+(%user,unjailmsg) ) != $null) { var %time_left = $duration( $timer($+(%user,unjailmsg)).secs ) }
Unspecified then vars again?
could use only
%time_left = $duration( $timer($+(%user,unjailmsg)).secs
reason we setting the var twice, is if when the user is jailed, the jailer doesnt put a time to unjail, then it will remain Unspecified, if they did then itll replace Unspecifed with the time left for the jailed. :p
Look at the code. :D