I tried to write the following script but when I tried to test it, mirc crashes. is there something wrong with it or is there something wrong with mirc?
Code:
on *:nick:{
if *666* iswm $newnick {
var %i = i
var %x = $comchan($newnick,1)
while (%x) {
if $me isop %x { ban -k %x $newnick 2 testing }
inc %i
%x = $comchan($newnick,%i)
}
}
}
Sorry, but that's not possible. mIRC doesn't display keyboard input in the middle of a loop, nor does it interpret scripts other than that in the middle of the loop.
See for yourself:
1. type //while 1 { } 2. type /break (Don't press enter) 3. wait for about a second 4. hit ctrl+break
The second mIRC displays "* Break: command halted" /break will show up in the editbox.