mIRC Home    About    Download    Register    News    Help

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

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