"PRE"-script, on text-event.. - 10/04/07 03:17 PM
So, what's wrong with this?
Code:
on ^*:text:*:#chan: { set %hl.pre * $+ [PRE] $+ * if ( %hl.* isin $1- ) { set %hltext $1- $chanmsg } } alias chanmsg { if ($active = @messages) halt else window -k0n +l @Messages 50 50 500 360 @messages Tahoma 11 if ($active != $chan) { echo -at 8 $+ $1- } if ($active = @messages) { haltdef } echo $color(normal text) @messages $+ $nick $+ - $+ $chr(155) $network $chr(92) $chan $chr(92) $time $chr(92) $asctime(dd/mm) $+ - $+ $asctime(yy) echo $color(normal text) @messages %hltext echo $color(normal text) @messages ----------------------------------- }