egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Spam protection

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
chmod 007
Voice


Joined: 31 May 2013
Posts: 1

PostPosted: Mon Jun 10, 2013 10:32 am    Post subject: Spam protection Reply with quote

How would you make it so that a command can only be used once every 60 seconds channel wide
Back to top
View user's profile Send private message
dirty
Halfop


Joined: 08 Feb 2013
Posts: 40
Location: Romania

PostPosted: Mon Jun 10, 2013 12:05 pm    Post subject: Reply with quote

You would need to implement this in a main script for each command. You could do it by adding a channel str flag and setting the time of the last command used and check that time every time a new command is used. If 60 seconds have passed reset the time and respond to the command. But again, this would require a mass implementation on a main script. Grate idea by the way.. will add it in my script MCC later on.
_________________
come to the dark side.. I have cookies!
WwW.BotZone.TK
Back to top
View user's profile Send private message Visit poster's website
Fr3aK
Voice


Joined: 11 Apr 2013
Posts: 4

PostPosted: Fri Aug 02, 2013 11:11 am    Post subject: Reply with quote

I hope you will post the code here. Since I am searching for this too.
Back to top
View user's profile Send private message
Madalin
Master


Joined: 24 Jun 2005
Posts: 310
Location: Constanta, Romania

PostPosted: Fri Aug 02, 2013 11:31 am    Post subject: Reply with quote

You can take a look at this. This question has been asked before for so many scripts.

http://forum.egghelp.org/viewtopic.php?p=95961#95961

It should be usefull to you
_________________
https://github.com/MadaliNTCL - To chat with me: https://tawk.to/MadaliNTCL
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber