mIRC Home    About    Download    Register    News    Help

Print Thread
#104468 04/12/04 04:11 AM
Joined: Dec 2002
Posts: 174
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
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.

#104469 04/12/04 04:53 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
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:

Code:
.$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
#104470 04/12/04 04:57 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
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...

#104471 04/12/04 03:37 PM
Joined: Dec 2002
Posts: 174
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
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

#104472 04/12/04 03:46 PM
Joined: Dec 2002
Posts: 174
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
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.

#104473 04/12/04 05:07 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
I didn't include any negative conditions, figured you'd be able to add them in yourself. smile
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 }


Link Copied to Clipboard