All pastes #897165 Raw Edit

Stuff

public text v1 · immutable
·published 2008-02-09 08:34 UTC
rendered paste body
On *:TEXT:*krypto*:#: {
  if ($chan != $active) { halt } {
    else {
      echo -a 7------------------- 
      echo -a 7Highlight by4 $nick 7in4 $chan $+ 7.
      echo -a 0(4 $1- 0)
      echo -a 7-------------------
      flash $chan 10
} } }

Right, this works fine but it still echo's the thing even when someone says my nick in the channel im reading. I want it so that if the channel is not active, or mIRC is minimized it will echo and flash, and if it is not minimized and is the active channel i want it to do nothing. Anyone help?