alias theme {
if ($time(HH:nn) != % [ $+ [ $wid ] ]) {
set % [ $+ [ $wid ] ] $v1
return $+($in3,$time(hh.nnt),$out3) $str($chr(160),3)
}
else return $str($chr(160),18)
}
on *:CLOSE:*:{ unset % [ $+ [ $wid ] ] $v1 }
output:
(01.32a) ‹@sirkit› the point of the script is so the timestamp only shows up once per minute per window
(01.32a) ‹@chew› first thought of what $wid returned would be window id?
‹@chew› hm
‹@sirkit› however, it just showed up for me on that msg, but its also going to say it when you send one
‹@chew› that's a neat idea~
‹@sirkit› like the first time i send it, the first time you send it, is what its doing
‹@chew› oh
(01.33a) ‹@sirkit› i suppose that could be a better thing though
(01.33a) ‹@chew› still