mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2003
Posts: 4
X
Self-satisified door
OP Offline
Self-satisified door
X
Joined: May 2003
Posts: 4
I'm new to the scripting aspects of mIRC and until I can get it all figured out I'm hoping someone can point me to a generic script with 'placeholders' whose values I can replace to fit my own use.

What I'm after is a script to connect me to various servers (two or three) and then join me to a couple (two or three) channels on each. The channels are always there from my experience so I wouldn't have to test to see if they had been created.

This may be more involved than I suspect but if there is a half-dozen line script that will do the job I would very much appreciate the help.

Steve

Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
/help on start
/help /server

Code:
on *:start: {
server irc.server1.com -j #channel1,#channel2 -i nick1 altnick1 ident1 full name on server 1
server -m irc.server2.com -j #channel2,#channel3,#channel4 -i nick2 altnick2 ident2 full name on server 2
server -m irc.server3.com -j #channel5 -i nick3 altnick3 ident2 full name on server 3
}
  



Learning the syntax ain't hard, but it takes some time, just RT(F)M


Code:
//if ( khaled isgod ) echo yes | else echo no
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
on 1:START: {
/server irc.server1.com [port] -j #channel1,#channel2,#channel3
/server -m irc.server2.org [port] -j #channel4,#channel5,#channel6,#channel7
/server -m irc.server3.net [port] -j #channel9,#channel10
}

Change the red to your preferred servers, and the green to the channels you wish to join. As far as the /server commands, make sure that every one after the first has the -m attribute. This makes it open in a new window. The [port] is optional (the default is 6667 anyways). The channels must be seperated by commas for it to work properly.

EDIT: Darnit rat.. Atleast mine's color-coded >:D


-KingTomato
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
yeah, that's 13337, but i've got the nicks and other cool stuff like the /help stuff...
grin


Code:
//if ( khaled isgod ) echo yes | else echo no
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
lol show off--heh


-KingTomato
Joined: Apr 2003
Posts: 426
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 426
But no colour :P


--------
mIRC - fun for all the family (except grandma and grandpa)

Link Copied to Clipboard