If you have 0.4 then at line 250 and 253 you will see:
proc ::rss-synd::pub_trigger {nick user handle chan text} {
proc ::rss-synd::pub_trigger {nick user handle chan text} {
add after each:
replace 30 with how many seconds you wish, then write in a file called throttled.tcl for instance, one of the codes user made, either the one with the time bind or with timers to do the cleanup.
Don't forget to load this file before the source scripts/rss-synd.tcl or whatever you have in your eggdrop's configuration file, then rehash and that's it. It should have this
protection working.
If you happen to use the latest version (v0.5b1 at this time) then after the line 281:
set text [lindex $args $i]
add:
Code: Select all
if {[llength $chan]} {
if {[throttled $nick,$chan 30]} return
} else {
if {[throttled $nick,$user 30]} return
}
haven't tested anything, but in theory at least, it should work.
Once the game is over, the king and the pawn go back in the same box.