but it should connect, then it will check if the pass entered is wrong by comparing the var it sets with the one stored in the ini file., if they dont match up, then it "should" disconnect from the server youre trying to connect to... doesnt it do that?

OK/Cancel shouldnt matter unless the var isnt set when you press cancel, but thats quickly fixed:
Code:
on *:CONNECT: {  
   if (%passfail == on) || (%passfail == $null) { echo -a INTRUDER | quit }
}

Maybe that will do it smile