mIRC Home    About    Download    Register    News    Help

Topic Options
#218856 - 26/02/10 01:05 PM different servers, different nicks by script. how?
sumo0 Offline
Nutrimatic drinks dispenser

Registered: 05/02/10
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?

Top
#218857 - 26/02/10 01:25 PM Re: different servers, different nicks by script. how? [Re: sumo0]
5618 Offline
Hoopy frood

Registered: 18/06/07
Posts: 933
/help /server

Look at the -i switch.

Top
#218902 - 27/02/10 12:43 PM Re: different servers, different nicks by script. how? [Re: 5618]
sumo0 Offline
Nutrimatic drinks dispenser

Registered: 05/02/10
Posts: 6
and if i still cant figure it out?:P

Top
#218904 - 27/02/10 01:51 PM Re: different servers, different nicks by script. how? [Re: sumo0]
Riamus2 Offline
Planetary brain

Registered: 13/10/04
Posts: 8327
Loc: MA, USA
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

Top
#218905 - 27/02/10 04:02 PM Re: different servers, different nicks by script. how? [Re: sumo0]
RiMaJoy Offline
Babel fish

Registered: 26/07/08
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.

Top
#218927 - 28/02/10 09:31 AM Re: different servers, different nicks by script. how? [Re: Riamus2]
sumo0 Offline
Nutrimatic drinks dispenser

Registered: 05/02/10
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.

Top
#218931 - 28/02/10 02:45 PM Re: different servers, different nicks by script. how? [Re: RiMaJoy]
Riamus2 Offline
Planetary brain

Registered: 13/10/04
Posts: 8327
Loc: MA, USA
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

Top