Yeh, there's no error messages, and best I could figure was that it would do a /halt for some odd reason because of /nick $null (which is the result of that var isn't there)

This shouldn't be something that freezes an entire event though.

As for pasting the entire block.. that's a bit much, and all it is is if and elseif statments after that first if statement, none of which get evaluated if that if statement results in a nick $null type line.


Code:
on *:connect:{
  echo -a $server $network
  keep.alive $network 60
if (!$istok($eval($+(%,$network),2),$me,32)) nick $eval($gettok($eval($+(%,$network),2),$r(1,$numtok($eval($+(%,$network),2),32)),32),2)
if ($network == Rizon || $server == irc.riz0n.net) echo 8 -s TRUE
elseif ($network == ChakraNET) echo 9 -s TRUE
}


That's the basic idea, but joining either network, when %Rizon or %ChakraNET don't exist, will produce neither of the echoed text's.

Last edited by Midori; 20/07/07 04:21 AM.