mIRC Home    About    Download    Register    News    Help

Print Thread
Help with auto connection script please #45911 31/08/03 11:25 PM
Joined: Jan 2003
Posts: 46
D
DJSi Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jan 2003
Posts: 46
Hi
I currently have this script, in my remote scripts...

on *:START:{
/dll stuntour.dll load_stunnel
server efnet.demon.co.uk -j #blah
server -m 127.0.0.1
server -m 127.1.0.0 -j #test
}

1.
This works well and connects these servers, the local IPs are mapped to SSL IRC servers. Trouble is that one of them requires a password while connecting.. is there a parameter I can put in to input the password so that it connects, enters the password and the joins the channels?

2.
Also, I use the parameter which joins me to #test when I connect. However that server is a SSL and also a BNC. Therefore when I reconnect I auto rejoin channels. However, some other timer scripts I have don't resume I think cause it's a BNC to the server. These scripts say something to the channel every so often so I don't go idle. How can I set them to start after I connect, cause its a BNC "perform on connect" doesn't work.

Please help.
Thanks

Re: Help with auto connection script please #45912 01/09/03 01:48 AM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
/server [-mnsar] <server/groupname> [port] [password] [-i nick anick email name] [-j #channel pass]
example :

/server efnet.demon.co.uk 6667 PASSWORD -j #blah chanpass

as for the second half i dont think id be able to give help


D3m0nnet.com
Re: Help with auto connection script please #45913 01/09/03 04:42 PM
Joined: Sep 2003
Posts: 13
gabrielevans10 Offline
Pikka bird
Offline
Pikka bird
Joined: Sep 2003
Posts: 13
on 1:start:{
server irc.everywherechat.com
on 1:connect:{
/nick <nickname>
/pass <password>
/join #lobby
}
on 1:disconnect:{
/server irc.everywherchat.com
}
}

Re: Help with auto connection script please #45914 01/09/03 04:45 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
That script is awful..you have events inside events and even if you didn't it wouldn't work for multiple servers. You're also sending the pass command too late for most servers.

Re: Help with auto connection script please #45915 05/09/03 06:34 PM
Joined: Jan 2003
Posts: 46
D
DJSi Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jan 2003
Posts: 46
Thanks for the ideas guys smile

Collective have you got an idea of a better way to do the script then please?

Re: Help with auto connection script please #45916 17/11/03 06:48 PM
Joined: Jan 2003
Posts: 46
D
DJSi Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jan 2003
Posts: 46
Anyone got any further ideas on this problem please?