
Code: Select all
set asus(nick) "nickop@austnet.org"
set asus(pass) "password"
bind EVNT - connect-server asus_connect
proc asus_connect {connect} {
global asus
puthelp "PRIVMSG $asus(nick) :$asus(pass)"
putlog "Identifying to Services"
}
Code: Select all
#############################################################################################
##################### Identify Script for Eggdrop 1.3.x, 1.4.x, 1.5.x #######################
#############################################################################################
################################# HOW TO INSTALL #######################################
# Just type in the Settings and add Nickserv as a user in the userlist with the right host
# and give him the flag "I".. and you're done :)
########################################################################################
####### SETTINGS ########
set botnick_pass "pass"
set bot_nick "LamBot"
set nickserv_nick "NickServ"
set chanserv "chanserv@services.dal.net"
#########################
###############################################################################
set keep-nick 1
bind notc - "*you*nick*" nick_in_use
bind notc - "*nick*use*" nick_in_use
bind notc - "*ill*nick*" nick_in_use
bind notc - "*msg*IDENTIFY*pass*" identify_to_nickserv
bind notc - "*Password accepted for*" op_chanserv
proc nick_in_use { nick uhost hand args rest } {
global botnick botnick_pass bot_nick nickserv_nick
if { $botnick != "$bot_nick" } {
putserv "$nickserv_nick :ghost $bot_nick $botnick_pass"
putlog "Nick \002\[$bot_nick\]\002 is in use... Ghosting..."
}
}
proc identify_to_nickserv { nick uhost hand args rest } {
global botnick botnick_pass bot_nick nickserv_nick
if { $botnick == "$bot_nick" } {
putquick "$nickserv_nick :identify $botnick_pass"
putlog "Identifying for nick \002\[$bot_nick\]\002"
} else {
putlog "The nick \002\[$botnick\]\002 is not the nick specified in identify.tcl"
}
}
proc op_chanserv { nick uhost hand args } {
global botnick chanserv channame
putlog "\002Catched Notice\002 from \002$chanserv\002"
foreach channame [channels] {
putserv "PRIVMSG $chanserv :OP $channame $botnick"
putlog "\002Trying to gain ops\002 in \002$channame\002 from \002$chanserv\002"
}
}
bind dcc o identify manual_identify
proc manual_identify { hand idx mascara } {
global nickserv_nick botnick_pass bot_nick
putserv "$nickserv_nick :identify $botnick_pass"
putlog "Identifying manualy for nick \002\[$bot_nick\]\002"
}
#######################################################################################
putlog "NickServ Identify Script by DrLinux - Loaded."
for dalnet:set init-server { putserv "PRIVMSG NickServ :IDENTIFY password }
set init-server { putserv "PRIVMSG nickserv@services.dal.net :IDENTIFY password }