on input: "halt" doesn't work - 01/08/06 08:15 PM
Code:
on *:input:*:{ var %i = 1 while (%i <= $nick($chan,0)) { if ($left($1,1) != /) && (!$ctrlenter) && ($active != Status Window) && ($status = connected) && ($1 == $nick($chan,%i)) { say my stuffs here | halt } inc %i } }
Everytime I type sumth, there appear two lines, instead of the mainstuff. What's wrong with the code?