mIRC Home    About    Download    Register    News    Help

Print Thread
Connection script #195709 29/02/08 11:02 AM
Joined: Oct 2006
Posts: 82
B
BritishGent Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
Hi there folks smile

I have recently joined a server in the uk called ukchatterbox and they require you to type /pass *your password* in the status screen before you can connect, and as you can imagine this is quite frustrating each and everytime.

i have tried to compile myself a small remote script that will do ot for me automatically but to no joy...

this is what i have thus far:

Code:
ON *:CONNECT: {
  if ($network == ukchatterbox) { nick Silent_One | /pass *password* }
}


any help would be appreciated.

Thanks in advance smile


Never ASSUME!!!

As it often makes and ASS out of U and ME!!
Re: Connection script [Re: BritishGent] #195714 29/02/08 01:11 PM
Joined: Dec 2002
Posts: 2,025
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,025

mIRC provides a place for you to do this in the servers dialog.

options (alt+o) > connect > servers

Find the network (ukchatterbox) in the list and expand it, select the server and click the edit button, then add your password there. You can do the same for each server listed under ukchatterbox if there are more than one. If the network isn't in your servers list, you can add it in this same area.

Although I think you'll find what you need above, if you still want a script to do it, I think it would probably be the LOGON event instead of CONNECT...

Code:

on *:LOGON: {
  if ($network == ukchatterbox) {
    nick Silent_One
    pass *password*
  }
}



Re: Connection script [Re: RoCk] #195721 29/02/08 03:58 PM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
/me could've sworn the original message read something else

Last edited by 5618; 29/02/08 04:20 PM.
Re: Connection script [Re: 5618] #195723 29/02/08 04:04 PM
Joined: Dec 2002
Posts: 2,025
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,025

Originally Posted By: 5618

The password section in the server list is for *server* passwords, not services or anything


I know what it's for, and that's what the OP needed. He said the server requires a password, not services. Please don't confuse the guy.

Re: Connection script [Re: RoCk] #195745 29/02/08 09:29 PM
Joined: Oct 2006
Posts: 82
B
BritishGent Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
Originally Posted By: RoCk

mIRC provides a place for you to do this in the servers dialog.

options (alt+o) > connect > servers

Find the network (ukchatterbox) in the list and expand it, select the server and click the edit button, then add your password there. You can do the same for each server listed under ukchatterbox if there are more than one. If the network isn't in your servers list, you can add it in this same area.

Although I think you'll find what you need above, if you still want a script to do it, I think it would probably be the LOGON event instead of CONNECT...

Code:

on *:LOGON: {
  if ($network == ukchatterbox) {
    nick Silent_One
    pass *password*
  }
}



Thanks very much for this, i have done both and all seems to work, much appreciated for your help smile


Never ASSUME!!!

As it often makes and ASS out of U and ME!!