It can be found at http://blog.andrew12.net/autoconnect.txt, or below.
- Code: Select all
; _______ _____ _________ _____
; ___ |___ ___ /________ ____/________________________________ /_
; __ /| | / / / __/ __ \ / _ __ \_ __ \_ __ \ _ \ ___/ __/
; _ ___ / /_/ // /_ / /_/ / /___ / /_/ / / / / / / / __/ /__ / /_
; /_/ |_\__,_/ \__/ \____/\____/ \____//_/ /_//_/ /_/\___/\___/ \__/
;
; by Andrew12
;
; Not entirely sure why I decided to put that there, anyways...
; Make sure you configure everything below.
on 1:start: {
;#####################
;# START CONFIGURING #
;#####################
; I would hope you know what a "nick" is, anick is the alternate one,
; the one that would be used if your first isn't available.
set %auto.nick User
set %auto.anick User|ghost
; Now for servers. server1 would be the first server you'd connect
; to, and server2 is the second, and so on. You can put the ports if
; you want to use SSL or something. If you want to connect to more
; servers, ask me, and I'll make it have more for you. If you need
; less, put a ; before the lines that don't have anything you need.
set %auto.server1 irc.com
set %auto.server2 irc.net
set %auto.server3 irc.org
set %auto.server4 irc.info
set %auto.server5 irc.us
; Now for actually connecting... For "network1" you have to put the
; name of the network. For example, if you were doing GeekShed, you
; would put "GeekShed", not "irc.geekshed.net". For "password1", it
; would be your NickServ password for whatever you set network1 to.
; Repeat for network2-5. You don't have to put ; before networks
; you won't use.
set %auto.network1 irccom
set %auto.network2 ircnet
set %auto.network3 ircorg
set %auto.network4 ircinfo
set %auto.network5 ircus
set %auto.password1 supersecretpass123
set %auto.password2 supersecretpass123
set %auto.password3 supersecretpass123
set %auto.password4 supersecretpass123
set %auto.password5 supersecretpass123
; The channels. Set "channels1" to the channels you'd join, separated
; by commas. For example, if GeekShed was network1, and you wanted to
; join #chris, #bwanatv, and #theshed once you connected, you'd put
; "#chris,#bwanatv,#theshed" as channels1. Same with channels2 and
; so on.
set %auto.channels1 #help,#chat
set %auto.channels2 #help,#chat
set %auto.channels3 #help,#chat
set %auto.channels4 #help,#chat
set %auto.channels5 #help,#chat
; That's all the configuration you should have to do for now.
; You probably shouldn't edit anything below this unless you
; know what you are doing.
; uuuuuuuuuuuuuuuuuuuu
; u" uuuuuuuuuuuuuuuuuu "u
; u" u$$$$$$$$$$$$$$$$$$$$u "u
; u" u$$$$$$$$$$$$$$$$$$$$$$$$u "u
; u" u$$$$$$$$$$$$$$$$$$$$$$$$$$$$u "u
; u" u$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$u "u
; u" u$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$u "u
; $ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $
; $ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $
; $ $$$" ... "$... ...$" ... "$$$ ... "$$$ $
; $ $$$u `"$$$$$$$ $$$ $$$$$ $$ $$$ $$$ $
; $ $$$$$$uu "$$$$ $$$ $$$$$ $$ """ u$$$ $
; $ $$$""$$$ $$$$ $$$u "$$$" u$$ $$$$$$$$ $
; $ $$$$....,$$$$$..$$$$$....,$$$$..$$$$$$$$ $
; $ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $
; "u "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$" u"
; "u "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$" u"
; "u "$$$$$$$$$$$$$$$$$$$$$$$$$$$$" u"
; "u "$$$$$$$$$$$$$$$$$$$$$$$$" u"
; "u "$$$$$$$$$$$$$$$$$$$$" u"
; "u """""""""""""""""" u"
; """"""""""""""""""""
if (%auto.nick) nick %auto.nick
if (%auto.anick) anick %auto.anick
if (%auto.server1) server %auto.server1
if (%auto.server2) server -m %auto.server2
if (%auto.server3) server -m %auto.server3
if (%auto.server4) server -m %auto.server4
if (%auto.server5) server -m %auto.server5
}
on 1:exit: {
unset %auto.nick
unset %auto.anick
unset %auto.server1
unset %auto.server2
unset %auto.server3
unset %auto.server4
unset %auto.server5
unset %auto.network1
unset %auto.network2
unset %auto.network3
unset %auto.network4
unset %auto.network5
unset %auto.password1
unset %auto.password2
unset %auto.password3
unset %auto.password4
unset %auto.password5
unset %auto.channels1
unset %auto.channels2
unset %auto.channels3
unset %auto.channels4
unset %auto.channels5
}
on 1:notice:*choose a different nick*:*: {
if ($nick == NickServ) {
if ($network == %auto.network1) ns id %auto.password1
if ($network == %auto.network2) ns id %auto.password2
if ($network == %auto.network3) ns id %auto.password3
if ($network == %auto.network4) ns id %auto.password4
if ($network == %auto.network5) ns id %auto.password5
}
}
on 1:notice:*you are now recognized*:*: {
if ($nick == NickServ) {
if ($network == %auto.network1) join %auto.channels1
if ($network == %auto.network2) join %auto.channels2
if ($network == %auto.network3) join %auto.channels3
if ($network == %auto.network4) join %auto.channels4
if ($network == %auto.network5) join %auto.channels5
}
}
Tell me what you think!