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  

 

 Caesars Dont advertise script

Go down 
AuthorMessage
ComputerTech
Owner
Owner
ComputerTech


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

Caesars Dont advertise script Empty
PostSubject: Caesars Dont advertise script   Caesars Dont advertise script Empty24/5/2020, 15:26

Code:
bind pubm - "*#*" pub_dont_advertise

proc pub_dont_advertise {nick host handle channel arg} {
global botnick
set banmask "*!*@[lindex [split $host @] 1]"
set bantime "1440"
if [botisop $channel] {
if {[string match "*#mychan*" $channel]} { return }
if {([matchattr $handle m] || [matchattr $handle p] || [matchattr $handle b] || [matchattr $handle n] || [matchattr $handle o])} { return }
newchanban $channel $banmask $bantime "Don't advertise!"
putserv "KICK $channel $nick :grin:on't advertise!"
putserv "MODE $channel +b $banmask"
return 1
}
}

putlog "Don't advertise .. loaded."
Back to top Go down
http://www.computer-tech1.webnode.co.uk
 
Caesars Dont advertise script
Back to top 
Page 1 of 1
 Similar topics
-
» Caesars timer +R -R
» say script
» bot cycle every 2min script
» Match script
» Timer Script

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