PunkTuReD is correct $2- would be better it'd save unnecessary processing of useless scripting.
PunkTuReD very good oh and Aucun50 to your previous comment of
"This script you have is a fail! Lol if you type anything it does "You're not oped on #pruserv"
@Linuxuser Check to see before you post, also make the script work right"
well on the server i use it works fine and i use the same format in all my scripts so maybe you just typed it wrong or copy and pasted it wrong.