I'm not sure of what you're talking about... what is UOP? Is it a user mode, like @ and +v?

If it is, you can use the on RAWMODE event.
I will use the letter q as the UOP letter, like o is @Op and v is +voice, but you must change the q's in red for the actual letter of the user mode
Code:
on *:RAWMODE:#: {
 var %modes = $remove($1,-,+)
 var %x = $numtok($2-,32)
 while (%x) {
  var %i = $len(%modes)
  while (%i) {
    if ([color:red]q[/color] == $mid(%modes,%i,1) && ($left($1,1) == -) { 
    if ($gettok($2-,%i,32) isop $chan) { cline 12 # $gettok($2-,%i,32) }
    elseif ($gettok($2-,%x,32) ishop $chan) { cline 11 # $gettok($2-,%x,32) }
    elseif ($gettok($2-,%x,32) svoice $chan) { cline 3 # $gettok($2-,%x,32) }
    else { cline [color:blue]UOP Color[/color] # $gettok($2-,%x,32) }
    }
    if ([color:red]q[/color] == $mid(%modes,%i,1) && ($left($1,1) == +) { 
   [color:green] ; I am assuming the UOP mode is a LOWER mode than OP
    ; but HIGHER than Half Op and voice[/color]
     if ($gettok($2-,%x,32) isop $chan) { cline 12 # $$gettok($2-,%x,32) } 
     else { cline [color:blue]UOP Color[/color] # $gettok($2-,%x,32) }
   }
   dec %i
  }
dec %x
 }
}    
This is not tested, so please let me know how it goes smile

Zyzzyx smile

Last edited by Zyzzyx26; 12/08/04 04:41 PM.

"All we are saying is give peace a chance" -- John Lennon