ok, well, I know pretty much the basics to make some simple scripts for irc, and, this script i want only open for ops to use, i have tried a few different things trying to make it for only ops, but none work. So, i have come to the experts for help :P

My script:

on *:text:!mute*:#:/mute $chan $2-
alias mute {
  if ($1 ischan) {

    mode # -hvo $$2 $$2 $$2 | /msg $$2 Take a few moments a chill the [censored] out... Thanks. $$2