mIRC scripting is very pernickity(sp?) when it comes to spacing
;WHEN SOMEONE OTHER THAN ME CHANGES MODE TO +I THEY GET KICEKD
on @!*:MODE:#Script-testing: {
notice $me $nick changed $chan mode to $1 at $time LOL
kick $chan $nick No more playinh with +i
mode $chan -i
}
The @ means that the person/bot that's running the script must be opped.
The ! means Anyone EXCEPT me
If (and when) you get tired of seeing the notice, kick, and mode lines in the system running the script, you can put a fullstop (aka . ) in front of each command
This won't bring up your Good Boy message, but it also won't run when you go to make the change
Part of the reason your script isn't working is a lack of spaces, specifically between the operators and the == signs in your if statements