mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
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

Joined: Dec 2002
Posts: 2,962
S
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.
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
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

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

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

~ Edit ~
Forgot about the $usermode identifier.



Link Copied to Clipboard