TCLDROP
Would you like to react to this message? Create an account in a few clicks or log in to continue.
TCLDROP

Eggdrop And TCL Help, Support And Chat
 
HomeHome  PublicationsPublications  FAQFAQ  SearchSearch  MemberlistMemberlist  Latest imagesLatest images  UsergroupsUsergroups  RegisterRegister  Log in  CalendarCalendar  WebsiteWebsite  ChatRoomChatRoom  

 

 Identify.tcl

Go down 
AuthorMessage
ComputerTech
Owner
Owner
ComputerTech


Posts : 99
Points : 268
Reputation : 0
Join date : 2020-04-30

Identify.tcl Empty
PostSubject: Identify.tcl   Identify.tcl Empty24/5/2020, 01:50

This is a simple script that handles nickserv for the bot such as auto identifying,ghosting,identifying,recovering , etc

Code:
####################################################
# Identify.tcl                                       
####################################################
#ComputerTech                                     
#IRC Irc.Freenode.Net ##Eggdrop                   
#Email ComputerTech312@gmail.com                 
#GitHub page : https://github.com/computertech312 
####################################################
#Commands
#identify
#ghost
#release
#recover
####################################################
set botn "botnick"
set botp "botpassword"
set trig "?"
set tflg "n"
set serv "nickserv"
####################################################
bind pub ${tflg} ${trig}identify do_identify
bind pub ${tflg} ${trig}ghost    do_ghost
bind pub ${tflg} ${trig}release  do_release
bind pub ${tflg} ${trig}recover  do_recover

proc do_identify {nick host handle chan text} {
global botn botp serv
putquick "Privmsg $serv :identify $botn $botp"
putquick "Notice $nick :Identifying to $serv for the nick $botn"
}
proc do_ghost {nick host handle chan text} {
global botn botp serv
putquick "Privmsg $serv :ghost $botn $botp"
putquick "Notice $nick :Ghosting the nick $botn"
}
proc do_release {nick host handle chan text} {
global botn botp serv
putquick "Privmsg $serv :release $botn $botp"
putquick "Notice $nick :Realeasing the nick $botn from $serv"
}
proc do_recover {nick host handle chan text} {
global botn botp serv
putquick "Privmsg $serv :recover $botn $botp"
putquick "Notice $nick :Recovering the nick $botn from $serv"
}
#this auto identifies your bot comment the next 5 lines if you Dont want this
set init-server { 
global botn botp serv
putquick "PRIVMSG $serv :identify $botn $botp"
putserv "MODE $nick +iR"
}


putlog "Identify.tcl Made By ComputerTech"
#####################################################
Back to top Go down
http://www.computer-tech1.webnode.co.uk
 
Identify.tcl
Back to top 
Page 1 of 1
 Similar topics
-
» untested identify script made by awyeah

Permissions in this forum:You cannot reply to topics in this forum
TCLDROP :: Other :: Code-
Jump to: