caesar wrote:If I where you I'd make it return "1" for a match and return "0" no match, and inside the proc to check the nick: if {[isSpamNick $nick]} { # is a match so ban or whatever }
Also, isn't a regexp fatser than that loop? Use break to stop a loop not return with something like this:
"I found a drone, ban it!" What's the point on continuing the loop till the end of the list? It breakes the loop and continues normaly with the proc when a match was found, or dose it need to make more than I match?
Once the game is over, the king and the pawn go back in the same box.