Ok, sorry. I didn't test it. I think this should work, however:

Code:
on 100:text:.massops:#Fairfax:{ massops # }


Code:
/massops { 
  var %x = $nick($1,0,r) 
  while (%x) { 
    if ($nick($1,%x,r) != $me) { 
      var %r = %r $nick($1,%x,r) 
      if ($numtok(%r,32) = $modespl) { mode $1 + $+ $str(o,$modespl) %r | unset %r } 
    } 
    dec %x 
  } 
  if (%r) { mode $1 + $+ $str(o,$numtok(%r,32)) %r } 
}


Also, using a access level 1 is highly not recommended, because 1 is a default level for everyone. So if you're using 1, then anybody can trigger it.