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  

 

 Kill 1st Gline 2nd

Go down 
AuthorMessage
ComputerTech
Owner
Owner
ComputerTech


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

Kill 1st Gline 2nd Empty
PostSubject: Kill 1st Gline 2nd   Kill 1st Gline 2nd Empty20/8/2020, 00:03

So just made this rough code on my mobile, it's meant to kill a user if they flood on 1st, and if they flood when they reconnect it will gline, is this code close to correct?
Code:

bind flud - pub flud:act

set badguy "0"
proc flud:act {n u h ct t} {
global badguy
putnow "kill $n Network_Flood"
set "1"

proc:do
}

proc flud:do { n u h t c } {
global badguy
if {$type == "0"} {
putnow "gline $n 30m Network_Flood"
set "0"
} else {
return
}
Cheers in advanced guys
Back to top Go down
http://www.computer-tech1.webnode.co.uk
 
Kill 1st Gline 2nd
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TCLDROP :: TCL :: Scripting Help-
Jump to: