mIRC Home    About    Download    Register    News    Help

Print Thread
#207916 07/01/09 01:34 AM
P
pouncer
pouncer
P
i have a dialog with a button to add a user to my host list.. but first i need to select a user in the nicklist

how do i then get the users address and nickname when i click the dialog button?

Last edited by pouncer; 07/01/09 01:34 AM.
#207918 07/01/09 02:12 AM
Joined: Jan 2007
Posts: 1,155
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,155
Well I need more information to answer your question best.

Do you load the nicknames into the dialog?
Do you select a nickname in the mirc nicklist?

If you select a name in the nicklist, $$1 will be the $nick.

You can also use $nick(#,N).

Returns Nth nickname in the channels nickname listbox on channel #.

If you use a mdx nicklist, line 1 is the control line so the 1st nick is actually line 2 so you would have to $calc and subtract 1 for the actual number in the nicklist.

After you have the nick, use $address or $ial to get the Ident and Address.






Link Copied to Clipboard