mIRC Home    About    Download    Register    News    Help

Print Thread
#231801 04/05/11 08:50 PM
Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Hello,

I have a collection of scripts that allow someone to connect to several different specific servers. I can't use basic mIRC because most of these servers have customized their IRC software.

SO I just use basic /server to connect. On this particular network I wait for the server to tell me I need to identify, which is a notice event, to auth. Then a notice event says success and I connect to a saved channel automatically.

The issue is that when I connect to this IRCx server, it first gives me a Temp nickname. mIRC sets this as mnick. Then I say, "no I'm identifying my nickname" and if the password is right, now it changes my nickname to the correct one.

I noticed today that even though $me = my nickname, $scid($cid).mnick is the Temp nickname. In my scripts you are able to connect more than one nick to the same server on the same mirc, and the second nick I connect, .mnick returns the correct nickname.

Am I doing something wrong? I know I can use the /mnick command to force my nickname but I've never had to do this and it works fine for my 2nd or 3rd nick I connect.

All solutions and comments would be very appreciated, thanks.

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Alt+O > Connect > Options > Preserve Nicknames - make sure this is ticked.

Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Ok thank you!

Joined: Mar 2011
Posts: 23
S
Ameglian cow
Offline
Ameglian cow
S
Joined: Mar 2011
Posts: 23
Try storing the password via the server setup dialog, then you may avoid initially connecting with a temporary nick.


Link Copied to Clipboard