Hi and thanks very much lire, much appreciated. Could you tell me please what the significance of the ! symbol is in the first line? I had tried using elseif but I guess I got that all screwed up because I couldn't get it to work. What is the difference between else and elseif? Also...if the script were to be run in all channels I have ops in, I realize I would just not add a channel name, however, would I still use just the # symbol in the script or $chan, or do they both basically represent the same thing? This script will be used for several bans (condensing several small ban scripts) so each ban would be in () and seperated by || . Is there a limit to how many bans a script like this can handle comfortably? Thanks again for your fix, I appreciate it. I hope I'm not asking too many questions, but like I said in my original message, I'm trying to learn.