Weems,
To begin with, a script shouldn't have been necessary to get mIRC to
identify to nickserv and join channels. The program already has this
capability on its own. If you click on your options icon and go to
Connect>Options and then click on the "Perform" button, simply click
the box marked "Enable perform on connect" and then type the commands
you want mIRC to perform when it connects to a network. The program
will then automate this process for you. To do this you'd type
something like this into the "perform commands" window:
/msg nickserv identify password
/join #mIRC
/join #help
/join #rumplestiltskin
As far as I know, you can put any command in there that you can type
into mIRC. If you have a channel that's keyed just add the key to the
command line in the perform list:
/join #mIRCstaff a5t4gh2
Finally, click OK when you're done, and at the very top of the same
window that the perform button is on, there's a checkbox for "Connect
on startup" - click there to put a checkmark in that box, and mIRC
will automatically connect when the program is started. You can also
check the "Reconnect on disconnection" box (which does exactly what
you'd expect it to do - tells mIRC to reconnect to the server in case
you ping out, or your connection is "reset by peer" or whatever.
You probably will also want to uncheck "pop up connect dialog on
startup" so that the connect dialog isn't displayed when you start the
program. You don't need it anymore since you've now got mIRC doing it
automatically. And you'll want to click the "retry" button and set
some parameters for what you want mIRC to do if it is unable to
connect the first time it tries.
Hope This Helps,
John, KC2HMZ
IRC-GLOBAL Netadmin
On Jan 25, 9:30 am, John Kasupski <kc2...@wzrd.com> wrote:
on *:start: { server one.irc.net | server -m two.irc.net }
Now you can have it join rooms auto with the server command like
"server -j #help" but I am assuming you want to identify first
Then do
on *:connect: {
if ($network == One) {
.msg nickserv identify PASSWORD1
.timer 1 2 .join #help,#mirc
}
if ($network == Two) {
.msg nickserv identify PASSWORD2
.timer 1 2 .join #help,#mirc
>I have been able to achieve the commands via perform, but when I start
>mIRC it only connects to one of the networks. I want mIRC to connect to
>all specified networks and identify and join the channels as specified
>in the perform dialogue. As far as I have been able to ascertain from
>looking around menus and dialogue windows, this option is not available
>by default.
You can still pretty much automate this by default without a script.
First you want to connect to multiple networks. Go to
Options->Tools->Remotes and put in something like this:
on *:START:{
/server nova.proxemic.net
/server -m us.ircnet.net
/server -m us.starchat.net
}
The basic command is on*:START:server - server1 |server -m server2
The first server doesn't need the -m as it will already have its own
status window when mIRC starts up. The -m switch tells mIRC to open a
new status window and connect. Anyway, substitute your own desired
servers for the ones in my example above and add as many additional
lines of "/server -m servername" as you need to connect to as many
networks as you need.
OK, once you use that to connect to all the servers, you want
toidentify to nickserv and join your channels on those servers. So, we
go back to the Perform list. If your networks are not in the list
below "All Networks" just click ADD and add your networks to the list.
Then go through your list one network at a time and put in any
commands you want:
/ns id password
/timer1 5 1 /join channelname1
/j channel2
/j channel3
I recommend the TIMER command to force your ID to be accepted before
you join channels; the above example gives nickserv 5 seconds time to
ID you. Increase the delay as necessary.
Do this for each network, remembering to enable perform on each one.
This should do it for you.
Best Regards,
John Kasupski
IRC-GLOBAl NetAdmin