mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2003
Posts: 9
A
Acid_X Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: May 2003
Posts: 9
I find that in alot of cases, in order to be able to get a response from $address, you have to do a whois on the user before getting a response besides $null.

Is there a reason for this, or is it just a bug? :\

Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
depends on what are u trying to do,
$address - only for events that has $nick it will return his address from the event
$address(nick,N) - will return the address only if the user has common channel with u and u got his IAL, if u don't have his ial u can get it with /who NICK or /whois NICK or /userhost NICK

Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
From the help file.

A user's address is added to the list either when they join the channel, send a message to a channel, or make a mode change.

A user's address is removed from the list when they are no longer on any of the channels which you are currently on.

/help ial
"who #" when you join the channel will help fill the ial as well.

Joined: May 2003
Posts: 9
A
Acid_X Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: May 2003
Posts: 9
Ah, okay. I meant $address(Nick,N). Thanks guys. wink

Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
well thats not a bug because in order to fill the ial u have to be able to see the user join or modeset ... so if this user doesnt do any of those things that will trigger an ial list update then u will not get thier address unless u /who the entire chan on join ......


D3m0nnet.com
Joined: May 2003
Posts: 9
A
Acid_X Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: May 2003
Posts: 9
What exactly does /who # do?

Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well in an mIRC script, # is translated to "the current channel" so when you do /who # from a script it will do /who #the_current_channel which makes the server give you info about everyone on the current channel.


Link Copied to Clipboard