mIRC Home    About    Download    Register    News    Help

Print Thread
#235806 13/01/12 05:43 PM
I
iav
iav
I
I'd like to have a way to set some channel to open on every starup of mirc, on more than one server.
For example, 1 channel on server1, one on server2, and 3 more channel on server 3.

It I can do it already - please, point me a way.

Joined: Oct 2003
Posts: 3,641
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,641
This has been possible since 6.0 via script:

Code:
on *:START: {
  server irc.server1.com -i nick altnick -j #channel1
  server irc.server2.com -i nick altnick -j #channel2
  server irc.server3.com -i nick altnick -j #channel3,#channel4
}


"-i nick altnick" lets you specify a nickname and alt nickname for each individual server (replace nick and altnick). If you don't care for that, just remove those parameters.

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
There are many examples shown on the forums here, but here you are...

Code:
on *:start: {
  server irc.server1.net -j #chan1
  server -m irc.server2.net -j #chan2
  server -m irc.server3.net -j #chan3,#chan4,#chan5
}

I
iav
iav
I
Where should it be? in remote.ini? remote or users tab?
upd:
It works! with -m, in remote tab!
Thank you!

Last edited by iav; 20/01/12 06:58 AM.
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
Every code you get from here goes in to remote, ALT + R in mirc, unless nothing else is stated

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Originally Posted By: sparta
unless nothing else is stated


unless something else is stated

smile


Link Copied to Clipboard