Did you test it yourself by typing it in mirc where the script was loaded? Because it doesn't work when you type it yourself.