rotyn Voice
Joined: 01 Nov 2005 Posts: 1
|
Posted: Tue Nov 01, 2005 6:47 am Post subject: bloody beginner - need help |
|
|
Hi,
my name is Rudy, basicly dealing with online/browsergames. Naturally our Clan is using some IRC chans, hostet on servers of gamesurge.net
For almost 2 days I was dealing with new stuff, never had experiences with eggdrop/TCL before. But for the last step I need some help.
I need to modify some part of a given script and I don't know what to do. It's about authentification with nickserver, on gamesurge.net called authserv
The script looks like this:
| Code: |
variable nickservpass "mzLP3Ss3"
variable nickservtext "This nick"
variable nickservmask "mask"
variable nickservaddr "authserv"
bind notc - "*$nickservtext*" moxtool_nickserv_identify
bind dcc P !identify moxtool_nickserv_identify_manually
proc moxtool_nickserv_identify_manually {handle idx arg} {
global nickservaddr nickservpass
puthelp "PRIVMSG $nickservaddr AUTH :identify $nickservpass"
}
proc moxtool_nickserv_identify {nick mask handle text {dest ""}} {
global nickservpass nickservmask nickservaddr
global botnick
if {$dest == ""} { set dest $botnick }
if {$dest == $botnick && [string tolower $mask] == [string tolower $nickservmask] && $nickservpass != ""} {
puthelp "PRIVMSG $nickservaddr :identify $nickservpass"
}
} |
First question: How to modify the script so that as a result the bot is sending the following message for authetification:
/msg Authserv Auth <Nick> <Password>
Second question: How to add scripting so that after authentification the following command is send:
/msg chanserv invite #channelxy
Thx for ur help, guys....
Rudy (from Germany) |
|