Code: Select all
### What is the name of the bot to identify to on join (CSAUTH)?
set bot(name) "Neptune"
### What is the name of the bot you want to do the channel identify (AUTH)?
set bot(chan) "Sephir"
### Set the user of the Eggdrop that will use for CSAUTH and AUTH
set bot(user) "Zarifa"
### Set the password of the Eggdrop that will use for CSAUTH
set bot(pass) "x0zomp69a"
### Set the password of the Eggdrop that will use for AUTH
set bot2(pass) "af442z9echy"
### Set this to 1 if you want the script enabled by default, otherwise 0 //<<< this is caesar who made it, but i think it's not necessary if .auth on/off is available
set bot(enable) 1
# stuff
setudef flag auth
bind join * * x:csauth
bind dcc - csauth dcc:csauth
# stuff
setudef flag auth
bind join * * x:csauth
bind dcc - csauth dcc:csauth
proc dcc:csauth {nick uhost handle channel} {
global bot botnick
if {$nick == $botnick && $bot(enable) == "1" } {
foreach luser $bot(name) {
putserv "PRIVMSG $luser :CSAUTH $bot(user) $bot(pass)"
}
foreach chan [channels] {
if {[channel get $chan auth]} {
putserv "PRIVMSG $bot(chan) :AUTH $chan $bot(user) $bot2(pass)"
}
}
}
}
Code: Select all
# stuff
setudef flag auth
bind join * * x:csauth
bind dcc - csauth dcc:csauth
Code: Select all
# stuff
setudef flag auth
bind join * * dcc:csauth
bind dcc - csauth x:csauth
Code: Select all
### What is the name of the bot to identify to on join (CSAUTH)?
set bot(name) "Neptune"
### What is the name of the bot you want to do the channel identify (AUTH)?
set bot(chan) "Sephir"
### Set the user of the Eggdrop that will use for CSAUTH and AUTH
set bot(user) "Zarifa"
### Set the password of the Eggdrop that will use for CSAUTH
set bot(pass) "x0zomp69a"
### Set the password of the Eggdrop that will use for AUTH
set bot2(pass) "af442z9echy"
### Set this to 1 if you want the script enabled by default, otherwise 0 //<<< this is caesar who made it, but i think it's not necessary if .auth on/off is available
set bot(enable) 1
# stuff
setudef flag auth
bind join * * dcc:csauth
bind dcc - csauth x:csauth
# stuff
setudef flag auth
bind join * * x:csauth
bind dcc - csauth dcc:csauth
proc dcc:csauth {nick uhost handle channel} {
global bot botnick
if {$nick == $botnick && $bot(enable) == "1" } {
foreach luser $bot(name) {
putserv "PRIVMSG $luser :CSAUTH $bot(user) $bot(pass)"
}
foreach chan [channels] {
if {[channel get $chan auth]} {
putserv "PRIVMSG $bot(chan) :AUTH $chan $bot(user) $bot2(pass)"
}
}
}
}
Code: Select all
### What is the name of the bot to identify to on join (CSAUTH)?
set bot(name) "Neptune"
### What is the name of the bot you want to do the channel identify (AUTH)?
set bot(chan) "Sephir"
### Set the user of the Eggdrop that will use for CSAUTH and AUTH
set bot(user) "Zarifa"
### Set the password of the Eggdrop that will use for CSAUTH
set bot(pass) "x0zomp69a"
### Set the password of the Eggdrop that will use for AUTH
set bot2(pass) "af442z9echy"
### Set this to 1 if you want the script enabled by default, otherwise 0 //<<< this is caesar who made it, but i think it's not necessary if .auth on/off is available <-- it is
set bot(enable) 1
# stuff
setudef flag auth
bind join * * dcc:csauth
#bind dcc - csauth x:csauth
bind dcc - auth x:csauth:on_off
proc dcc:csauth {nick uhost handle channel} {
global bot botnick
if {$nick == $botnick && $bot(enable) == "1" } {
foreach luser $bot(name) {
putserv "PRIVMSG $luser :CSAUTH $bot(user) $bot(pass)"
}
foreach chan [channels] {
if {[channel get $chan auth]} {
putserv "PRIVMSG $bot(chan) :AUTH $chan $bot(user) $bot2(pass)"
}
}
}
}
proc x:csauth:on_off {hand idx arg} {
global bot
switch -- [lindex [split $arg] 0] {
"on" { set bot(enable) 1; putdcc $idx "Authing turned on" }
"off" { set bot(enable) 0; putdcc $idx "Authing turned off" }
}
}
sorry but I will help you no further when your not even trying to fix the problem on you own! Try figuring out the problem and fix it. If you get some new errors post the code you've added/modified and we may talk..Gatsby wrote:Please.... help me tell me i musn't wait 3 weeks for this TCL ! Please !What code add for Zarifa sends the CSAUTH and AUTH not only when she joins #channel but also when Neptune or Sephir join too...