mIRC Homepage
Posted By: Iljan what is wrong? - 20/01/06 10:38 PM
It doesn't work but why?

Code:
 on 1:TEXT:!aop*:?:{ if ($address($nick,2) isin %administrators) { 
    if ($nick isin $eval($+(%,manops.,$chan),2)) {
      if ($2 == add) { /aop -w $3 $4- }
      	else {
      	if ($2 == del) { /aop -r $3 $4- } }
      else
      { /msg $nick You have insufficient rights to take this action. }
    }
  }
}  


Var:
Code:
%administrators *!*@censored.speed.planet.nl
%manops.#lizzytest iljan
Posted By: schaefer31 Re: what is wrong? - 20/01/06 11:03 PM
Code:
on 1:TEXT:!aop*:?:{ 
  if ($address($nick,2) isin %administrators) { 
    if ($nick isin $eval($+(%,manops.,$chan),2)) {
      if ($2 == add) {  aop -w $3 $4- }
      else if ($2 == del) { aop -r $3 $4- } 
      else { msg $nick You have insufficient rights to take this action. }
    }
  }
}
© mIRC Discussion Forums