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.

Count eggdrop's private message

Help for those learning Tcl or writing their own scripts.
Post Reply
h
honeybee
Halfop
Posts: 80
Joined: Sun Jan 01, 2006 12:42 pm

Count eggdrop's private message

Post by honeybee »

I want to count message send to my eggdrop and if exceed to limit return. I thought of using user's throttled proc but in eggdrop's private message uhost will always be changed and we do not want to track flood from one specific user infact five messages in 10 sec will trigger flood.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

I guess you could go with user's script, and use a fixed identifier (such as "privmsg") rather than "$user,$host".
NML_375
Post Reply