This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

quote me tcl - flood protection

Old posts that have not been replied to for several years.
Locked
M
MasterJM
Halfop
Posts: 56
Joined: Wed Apr 03, 2002 8:00 pm
Location: germany
Contact:

quote me tcl - flood protection

Post by MasterJM »

Hi,
i use this quote script for 2 years now:

http://www.egghelp.org/cgi-bin/tcl_arch ... oad&id=280
quoteme Quote Scripts 1.3 - k-rist 280 Advanced quotes script.
http://www.egghelp.org/files/tcl/desc/280.desc

its a great and easy script, but there is one thing needed:
a flood protection!

is there is easy way to say "!quote triggers" only every xy sec?
(like some other script for example the !bash quote script?)

can some one help me ? :)

thx
-good old time
M
MasterJM
Halfop
Posts: 56
Joined: Wed Apr 03, 2002 8:00 pm
Location: germany
Contact:

Post by MasterJM »

nobody? :(
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

MasterJM dont try to push your tread....

usually i dont respond to such stupid posts, but this time...

foreach chan [channels] {
set quoted($chan) 0
}
........
<first line of the quote proc>
if {$::quoted($chan) == 1} { return }
......
<below the putserv/puthelp>
set ::quoted($chan) 1
utimer xy [list set ::quoted($chan) 0]

should do the trick
Locked