the ircd that the server your bot is connected is bahamut? coz I know that this server sets or unsets modes even if they are/they are not there.
the script sets mode +M every time that sees more than the joins that you have set so if you have set this to 5 and they join at the same second 15 users then it sets +M 3 times.
«A fantastic spaghetti is a spaghetti that does not exist»
Funny thing, I and GodOfSuicide tested it before and he didn't reported any problems with it. This dosen't mean I've ignored his msg'es or something, is working fine. I'll do a little set of tests to it then I'll publish the version 0.3 of it. Right now it dosen't have bugs or something (at least I haven't spoted any), just needs some lil changes to variables and to arrays. That's all. Anyway, I'll keep you informed with the results of my tests.
Once the game is over, the king and the pawn go back in the same box.