mIRC Home    About    Download    Register    News    Help

Print Thread
How to hide line/commands in popup #194309 02/02/08 03:15 AM
Joined: Dec 2002
Posts: 477
Deep3D Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Dec 2002
Posts: 477
How to hide this isted of "deactivate"? Can't find any help in /help or forum search.

.$iif($ulist($address($$1,1),2,1),$style(2)) Adduser:ctcp.admin.add $$1

Re: How to hide line/commands in popup [Re: Deep3D] #194310 02/02/08 03:50 AM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Just have at least one side of the : evaluate to $null

ie.
Code:
.$iif($ulist($address($$1,1),2,1),$null, Adduser):ctcp.admin.add $$1


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Re: How to hide line/commands in popup [Re: starbucks_mafia] #194325 02/02/08 12:44 PM
Joined: Dec 2002
Posts: 477
Deep3D Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Dec 2002
Posts: 477
If I dont have IRC Operator mode on a server, how to hide this?

My scripting has gone rusty! Just started up again. smile

$iif($what?)IRC Operator:/command

Re: How to hide line/commands in popup [Re: Deep3D] #194336 02/02/08 04:54 PM
Joined: Dec 2002
Posts: 2,013
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,013

.$iif(o isin $usermode,IRC Operator):/command

~ Edit ~
Forgot about the $usermode identifier.