mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
Hi, I've got a small alias, to connect to some servers, which I always chat on. But I want to have an other nick at one of the servers.

Code:
alias con {
  server <hidden..>
  server -m <hidden2..> 
  server -m <hidden3..>
  server -m <hidden4..> 
  server -m <hidden5..> 
}


When I connect to hidden2, I need to have an other nick (example: Duckiej). At the other servers, I want to have my normal nickname. ("Nickname" at options)


Last edited by DuXxXieJ; 06/09/09 08:17 PM.

Squee whenever a squee squee's. Squee whenever a squee does not squee.
Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
Look at the help file about /server, check the -i switch


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
There are lots of -I switch commands there.. I can't find the one which I need :x


Squee whenever a squee squee's. Squee whenever a squee does not squee.
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
This was covered already but the forum only shows posts up to a month ago.

Basically you need to open a new server window, change your nick, then connect to the server on that server window.

/server -n irc.server.net
/nick newnick
/server irc.server.net

Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
Well, I have tried that.
But the nick didn't changed at the requested server, but at the server which I was connecting after the other one.


Squee whenever a squee squee's. Squee whenever a squee does not squee.
Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
There's only one -i switch for /server smirk


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
Well, I see more than one.


Squee whenever a squee squee's. Squee whenever a squee does not squee.
Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
Originally Posted By: /help /server
/server [-emnsarpfocz] <server/groupname> [port] [password] [-i nick anick email name] [-jn #channel pass]
How could you see more than one same switch for a command ? How many -i do you see here ?


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
/scid -a
/scon -a

This will make the specified connection the active connection. This is extremely important when connecting to more than one server.

So make the correct connection the active one before changing your nickname.

Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
Originally Posted By: DuXxXieJ
Hi, I've got a small alias, to connect to some servers, which I always chat on. But I want to have an other nick at one of the servers.

Code:
alias con {
  server <hidden..>
  server -m <hidden2..> 
  server -m <hidden3..>
  server -m <hidden4..> 
  server -m <hidden5..> 
}


When I connect to hidden2, I need to have an other nick (example: Duckiej). At the other servers, I want to have my normal nickname. ("Nickname" at options)



try:
Code:
alias con {
  server <hidden..>-i normal nick
  server -m <hidden2..>-i special nick 
  server -m <hidden3..>-i normal nick
  server -m <hidden4..>-i normal nick 
  server -m <hidden5..>-i normal nick
}


I refuse to engage in a battle of wits with an unarmed person. wink

Link Copied to Clipboard