mIRC Home    About    Download    Register    News    Help

Print Thread
#161267 05/10/06 10:48 AM
Joined: Oct 2006
Posts: 2
Z
Bowl of petunias
OP Offline
Bowl of petunias
Z
Joined: Oct 2006
Posts: 2
on *:START: {
/server server1 -j #channel
/server -m server2 -j #channel
/server -m server3 -j #channel
}

This works fine, but how would I go about having a different nick for each server?

#161268 05/10/06 10:57 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
/help /server

#161269 05/10/06 07:22 PM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Quote:
on *:START: {
/server server1 -j #channel
/server -m server2 -j #channel
/server -m server3 -j #channel
}

This works fine, but how would I go about having a different nick for each server?


come on daveC you rather code a very long script but not a small one huh? lol jk

in order for this to work in your 3 servers type //echo -a $server to find out the server name ill be using examples then

Code:
on *:START: {
  server server1 -j #channel | nick nickforthisserver
  /server -m server2 -j #channel | nick nickforthisserver
  /server -m server3 -j #channel | nick nickforthisserver
}


OR

Code:
on *:START: {
if ($server == irc.mirc.com)  { server $v2 -j #channel | .timerS1 1 2 /nick yournickforthisserver }
if ($server == irc.mirc2.com)  { server $v2 -j #channel | .timerS2 1 2 /nick yournickforthisserver }
if ($server == irc.mirc3.com)  { server $v2 -j #channel | .timerS3 1 2 /nick yournickforthisserver }
}


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
#161270 05/10/06 07:50 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Use switch '-i' so you could specify a nick for each server you connect to.

Code:
   server server1 [color:red]-i NICKHERE[/color] -j #channel 


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#161271 05/10/06 08:00 PM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
true my bad


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
#161272 06/10/06 12:47 AM
Joined: Oct 2006
Posts: 2
Z
Bowl of petunias
OP Offline
Bowl of petunias
Z
Joined: Oct 2006
Posts: 2
Thanks guys, -i works fine.

#161273 06/10/06 04:45 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Quote:
come on daveC you rather code a very long script but not a small one huh? lol jk


I thought i gave good advise, if its simply a switch in the command, make the requester look it up, that way he wont come here and ask again and again.


Link Copied to Clipboard