mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2009
Posts: 3
L
lolmaus Offline OP
Self-satisified door
OP Offline
Self-satisified door
L
Joined: Jan 2009
Posts: 3
Hi.

This is a really old bug. 5.9 - 6.35 probably.

The /anick command behaves incorrectly when during connection your nick was occupied and mirc used the anick to connect.


How to reproduce

1. Assume your main nickname is 'blah' and your alternative nickname is 'blah2'.

2. To reproduce the bug, your main nick ('blah' in this example) should be occupied on the irc network you connect to.

3. Connect to the irc network. mIRC will tell you that 'blah' is occupied and set the nickname to 'blah2'.

4. After you connect, execute '/anick blah3'. Woila!


What happens

/anick changes your nickname on server.


What should happen

/anick should change your extra nickname in mIRC memory. It should not touch the nickname on server.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Sorry, but I must disagree.
Based on your example, the active connection is using the alternative nick, therefore changing the alternative nick via the /anick command should change the nick on the active connection. Likewise, if the active connection was using the main nick, then using /mnick should change the nick.

Joined: Jan 2009
Posts: 3
L
lolmaus Offline OP
Self-satisified door
OP Offline
Self-satisified door
L
Joined: Jan 2009
Posts: 3
If it is so, how can i (in scripting) find out whether mIRC is using alternative or main nick? And what is the difference in behavior between nick and anick/mnick commands?

Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Originally Posted By: lolmaus
If it is so, how can i (in scripting) find out whether mIRC is using alternative or main nick?

You can compare $mnick and $anick with $me.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Jan 2009
Posts: 3
L
lolmaus Offline OP
Self-satisified door
OP Offline
Self-satisified door
L
Joined: Jan 2009
Posts: 3
Thank you RusselB and qwerty.

I'd rename the subject of initial post but it won't let me. :(q


Link Copied to Clipboard