This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
NewzUK
- Master
- Posts: 200
- Joined: Mon Nov 18, 2002 3:10 am
- Location: Auckland, New Zealand
-
Contact:
Post
by NewzUK »
Hi
I have this little script which auth's to X chan services bot when I msg it to do so, but I'd like it to do it itself when it connects...
bind msg m|m auth auth
proc auth {nick host hand args} {
putserv "NOTICE $nick : I have authed to X"
putserv "PRIVMSG X :authop #NewsRoom BotNick password"
return 0
}
putlog "Auth loaded"
can this be done with this script?
Thanks.
-
Sir_Fz
- Revered One
- Posts: 3794
- Joined: Sun Apr 27, 2003 3:10 pm
- Location: Lebanon
-
Contact:
Post
by Sir_Fz »
try it, then ask if it works.
also use arg instead of args (in the proc), because args has a special meaning in TCL (I don't know what it is

)
-
NewzUK
- Master
- Posts: 200
- Joined: Mon Nov 18, 2002 3:10 am
- Location: Auckland, New Zealand
-
Contact:
Post
by NewzUK »
try what? that's my current script above - but I want it to perform the auth to X automatically without me having to msg it to do so...
-
Sir_Fz
- Revered One
- Posts: 3794
- Joined: Sun Apr 27, 2003 3:10 pm
- Location: Lebanon
-
Contact:
Post
by Sir_Fz »
add in you .conf file : set init-server { putserv "PRIVMSG X :authop #NewsRoom BotNick password" }
-
NewzUK
- Master
- Posts: 200
- Joined: Mon Nov 18, 2002 3:10 am
- Location: Auckland, New Zealand
-
Contact:
Post
by NewzUK »
thanks Sir_Fz - working well
