mIRC Home    About    Download    Register    News    Help

Print Thread
if statement #113821 09/03/05 02:23 AM
Joined: Feb 2005
Posts: 194
A
alhammer Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Feb 2005
Posts: 194
What's the if statement to see wheather a user is in your IAL?


"God sometimes puts us in the dark for us to see the light"
Re: if statement #113822 09/03/05 02:24 AM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
if ($ial(nick)) {  }


New username: hixxy
Re: if statement #113823 09/03/05 03:14 AM
Joined: Feb 2005
Posts: 194
A
alhammer Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Feb 2005
Posts: 194
Thanks man! I got 1 more question, but it is probably very stupid. :tongue: How can you echo something so that you can see it in all windows? (ex: channel, status)


"God sometimes puts us in the dark for us to see the light"
Re: if statement #113824 09/03/05 03:24 AM
Joined: Mar 2005
Posts: 212
N
NeUtRoN_StaR Offline
Fjord artisan
Offline
Fjord artisan
N
Joined: Mar 2005
Posts: 212
-sa will do the active window and status

Re: if statement #113825 09/03/05 03:38 AM
Joined: Feb 2005
Posts: 194
A
alhammer Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Feb 2005
Posts: 194
Ok. Thanks. But, I thought of a different way. How can use a popup like this:
Code:
$input(This User is Not on the Internal Address List!,oai,Error!)

I would like it to have the Error icon (yellow triangle) and have an OK button, and it will need to popup in front of a dialog. I know these differ by changing the "oai" stuff. There are many combinations. What would be the code for the one I just described?

By the way, welcome NeUtRoN_StaR!

Last edited by alhammer; 09/03/05 03:39 AM.

"God sometimes puts us in the dark for us to see the light"
Re: if statement #113826 09/03/05 03:44 AM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
$input(This User is Not on the Internal Address List!,dawo,Error!)

Re: if statement #113827 09/03/05 12:54 PM
Joined: Feb 2005
Posts: 194
A
alhammer Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Feb 2005
Posts: 194
Great! Thanks man! I got another question. Where can I find a list of parameters used to open dialogs? EX: -mo, -dm


"God sometimes puts us in the dark for us to see the light"
Re: if statement #113828 09/03/05 01:06 PM
Joined: Feb 2004
Posts: 50
D
Ddan Offline
Babel fish
Offline
Babel fish
D
Joined: Feb 2004
Posts: 50
the help file is your friend smile

/help

Re: if statement #113829 09/03/05 05:02 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
/help /dialog

Always good to point them into the right part of the help file, it sometimes helps. smile

Re: if statement #113830 10/03/05 12:22 AM
Joined: Feb 2005
Posts: 194
A
alhammer Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Feb 2005
Posts: 194
blush - grin


"God sometimes puts us in the dark for us to see the light"