Basically what im trying to do is have the bot set up so that it will check to see if a user is on both of two channels, if they arent i want it to set a temporary ban. I tried modifying one of the premade scripts that came with the bot then got a reply on a post on another forum where someone had helped me with my coding and ended up with:
The only problem with this though is it checks on both channels ... all i really want it to do is when someone joins main_chan check req_chan to see if they're on it. If they arent I want to temp ban them from main chan. if someone could help i would appreciate it
Lil tip: Instead of if "[string tolower $nick]" != "![string tolower $botnick]" use "[string equal -nocase $nick $::botnick]" (and don't forget to drop the " cos are not needed, are just for human look.)
Once the game is over, the king and the pawn go back in the same box.
The other thing i needed to ask is, im using thsi bot to monito irc channels not botnet channels, if that changes the code any... cuz it doesnt seem to work when I tried it.