mIRC Home    About    Download    Register    News    Help

Print Thread
#139983 20/01/06 10:38 PM
Joined: Mar 2005
Posts: 21
I
Iljan Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Mar 2005
Posts: 21
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

#139984 20/01/06 11:03 PM
Joined: Aug 2005
Posts: 525
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
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. }
    }
  }
}


Link Copied to Clipboard