|
|
Joined: Dec 2002
Posts: 174
Vogon poet
|
OP
Vogon poet
Joined: Dec 2002
Posts: 174 |
How do i add this to the nicklist operating commands in this format
.$iif($$1 !isop #,Operator (+/-)): { mode # +ooooooooo $$1 $2 $3 $4 $5 $6 $7 $8 $9 } .$iif($$1 isop #,Operator (+/-)): { mode # -ooooooooo $$1 $2 $3 $4 $5 $6 $7 $8 $9 }
As there isn't a isadmin or code for -a for certain networks.
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
It depends which flag (Eg: @ for operators) admins are on the network you use, i've seen +a as !, & and *, so you could try this: .$iif($istok(! & *,$left($nick($chan,$$1).pnick,1),32),Admin (+/-)): mode $chan +aaaaaaaaa $$1 $2 $3 $4 $5 $6 $7 $8 $9
.$iif($istok(! & *,$left($nick($chan,$$1).pnick,1),32),Admin (+/-)): mode $chan -aaaaaaaaa $$1 $2 $3 $4 $5 $6 $7 $8 $9
New username: hixxy
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
You can use $nick(#,$$1,<char>) using the actual prefix char. - .$iif($nick(#,$$1,@),Operator (+/-)): { mode # -ooooooooo $$1-9 }
.$iif($nick(#,$$1,!),............. .etc...
|
|
|
|
Joined: Dec 2002
Posts: 174
Vogon poet
|
OP
Vogon poet
Joined: Dec 2002
Posts: 174 |
Having problems with your code Iori it seems ithe code only shows if the person is already an operator, although i would like it to be visible all the time, incase services are down and want to add people
|
|
|
|
Joined: Dec 2002
Posts: 174
Vogon poet
|
OP
Vogon poet
Joined: Dec 2002
Posts: 174 |
Tried using this and adding other status like @ and v, having trouble finding the right one just for regulars plus your coding seems to appear on 2 lines rather then just 1 like the one i posted first on the thread.
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
I didn't include any negative conditions, figured you'd be able to add them in yourself. ![smile smile](/images/graemlins/mirc/smile.gif) Change ! to whatever the symbol for admin is on your network - .$iif(!$nick(#,$$1,!),Admin (+/-)): { mode # +aaaaaaaaa $$1-9 }
.$iif($nick(#,$$1,!),Admin (+/-)): { mode # -aaaaaaaaa $$1-9 } .$iif(!$nick(#,$$1,@),Operator (+/-)): { mode # +ooooooooo $$1-9 } .$iif($nick(#,$$1,@),Operator (+/-)): { mode # -ooooooooo $$1-9 }
|
|
|
|
|
|