mIRC Homepage
Posted By: shadow00760 Need some help. - 27/07/07 10:49 PM
Hi, I need some help with remote scripting..
How can I join a different server at the same time?

I know it's like:
on *:connect:{
blah blah here
}

But I don't know what. ><; Help please.
Posted By: SladeKraven Re: Need some help. - 27/07/07 10:56 PM
Code:
On *:Connect: {
  server -m some.server.here
}
Posted By: Bekar Re: Need some help. - 27/07/07 11:16 PM
I'd use:

Code:
ON *:START: {
  server -m other.server.com
}

This way it doesn't re-trigger when the new server gets connected.
Posted By: shadow00760 Re: Need some help. - 27/07/07 11:17 PM
When I connect to server1, it goes to server2, which is good.
But when I connect to server2, it wants to connect again with server2, since it is an on *:Connect:..

Is there a way that i can avoid this?
Posted By: shadow00760 Re: Need some help. - 27/07/07 11:18 PM
Can I also add channels? I tried this but it didn't work.

Code:
ON *:START: {
  server -m irc.swiftirc.net
  join #shadowkun
}

ON *:START: {
  server -m irc.swiftirc.net
  join #rsmarket
  join #shadow00760
}


Does anyone know if this is possible?
Posted By: SladeKraven Re: Need some help. - 27/07/07 11:28 PM
You don't really need 2 events.

Code:
ON *:START: {
  server -m irc.swiftirc.net -j #shadowkun
  server -m irc.swiftirc.net -j #rsmarket,#shadow00760
}
Posted By: shadow00760 Re: Need some help. - 28/07/07 06:34 AM
Hm this is the code now:
Code:
ON *:START: {
  server -m irc.rizon.net -j #shadowkun,#kuro-hana,#g2anime
  server -m irc.swiftirc.net -j #rsmarket,#shadow00760
}


It goes to the chans in rizon, but not in swift, is it because i use swift as my default start-up server?
Posted By: RoCk Re: Need some help. - 28/07/07 02:46 PM
options (alt+o) > connect > de-select Connect on startup

Also, I would remove the -m switch from the first connection in that script.
© mIRC Discussion Forums