mIRC Homepage

Connection script

Posted By: BritishGent

Connection script - 29/02/08 11:02 AM

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
Posted By: RoCk

Re: Connection script - 29/02/08 01:11 PM


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*
  }
}


Posted By: 5618

Re: Connection script - 29/02/08 03:58 PM

/me could've sworn the original message read something else
Posted By: RoCk

Re: Connection script - 29/02/08 04:04 PM


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.
Posted By: BritishGent

Re: Connection script - 29/02/08 09:29 PM

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
© 2022 mIRC Discussion Forums