mIRC Home    About    Download    Register    News    Help

Print Thread
different servers, different nicks by script. how? #218856 26/02/10 01:05 PM
Joined: Feb 2010
Posts: 6
S
sumo0 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Feb 2010
Posts: 6
once again my problem is small but annoying:P
when i logon to mirc i connect to quakenet, my nick is sumo0.
then i use this script to logon to stratics and the needed channel:

/f2 /server -m irc.stratics.com 6667 -j #mortalonline

but i would like to add to my script somehow to change my nick to lars112 when i connect to stratics.com.
can i add a /nick command into that line, or will i need a third line for that?

Re: different servers, different nicks by script. how? [Re: sumo0] #218857 26/02/10 01:25 PM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
/help /server

Look at the -i switch.

Re: different servers, different nicks by script. how? [Re: 5618] #218902 27/02/10 12:43 PM
Joined: Feb 2010
Posts: 6
S
sumo0 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Feb 2010
Posts: 6
and if i still cant figure it out?:P

Re: different servers, different nicks by script. how? [Re: sumo0] #218904 27/02/10 01:51 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
It works just like the -j switch you're already using except that it sets the nick instead of the channel.

Quote:
/server [-emnsarpfocz] <server/groupname> [port] [password] [-i nick anick email name] [-jn #channel pass]


Set up your server command in the same order shown in the help file. Items in []'s are optional.


Invision Support
#Invision on irc.irchighway.net
Re: different servers, different nicks by script. how? [Re: sumo0] #218905 27/02/10 04:02 PM
Joined: Jul 2008
Posts: 51
R
RiMaJoy Offline
Babel fish
Offline
Babel fish
R
Joined: Jul 2008
Posts: 51
why not use mirc's perform?
u can set all kinds of commands there and what server to perform them on.
if your server is not in the server list u can add it.

Re: different servers, different nicks by script. how? [Re: Riamus2] #218927 28/02/10 09:31 AM
Joined: Feb 2010
Posts: 6
S
sumo0 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Feb 2010
Posts: 6
Originally Posted By: Riamus2
It works just like the -j switch you're already using except that it sets the nick instead of the channel.

Quote:
/server [-emnsarpfocz] <server/groupname> [port] [password] [-i nick anick email name] [-jn #channel pass]


Set up your server command in the same order shown in the help file. Items in []'s are optional.


there we go, works perfect now, thx.

Re: different servers, different nicks by script. how? [Re: RiMaJoy] #218931 28/02/10 02:45 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
Originally Posted By: RiMaJoy
why not use mirc's perform?
u can set all kinds of commands there and what server to perform them on.
if your server is not in the server list u can add it.


Although the perform section can be useful, in many cases, a script works better.


Invision Support
#Invision on irc.irchighway.net