and to add that into my /opcheck script, this is the code which i used

while i'm on here though - is there a way of putting those 2 long lines onto a few shorter lines?

Code:

  unset %C.NICKS 
  unset %coun
  %coun = 1
  %C.NICKS = $nick($chan,0)
  echo 2 -a 14,15==> Voices:
  while ( %coun <= %C.NICKS ) {
    if ( $level($address($nick($chan,%coun),1)) == %VL )  { 
      set %nick $nick($chan,%coun) 
      if ( $nick($chan,%coun) isop $chan ) { 
        echo 6 -a 14,15==>6   + $+ $nick($chan,%coun) $&
        $str($chr(160),$calc(10 - $len(%nick))) [color:red]  14<=>12 $&
        $right($ulist(%address).info,3) [/color] 14<=>6 $&
        $address($nick($chan,%coun),1)
      }
      else echo 6 -a 14,15==>6   $nick($chan,%coun) $&
        $str($chr(160),$calc(10 - $len(%nick)))  [color:red]  14<=>12 $&
        $right($ulist(%address).info,3) [/color] 14<=>6 $&
        $address($nick($chan,%coun),1)
      cline 6 $chan $nick($chan,%coun) 
    }
    inc %coun 1
  }



[EDIT: added $& and [[/b]code] -Hammer

Last edited by Hammer; 07/01/03 09:36 AM.