quote:
Originally posted by Dethredic
var floodTime = 0; // period for floodchecking, in milliseconds
Erm, flood check every 0 milliseconds? That basically means it will never check....
I don't know what the default value is, but if this is used in a timer then constantly checking for stuff will probably add load to your CPU, so it's probably best to leave it as it is.
quote:
Originally posted by Dethredic
This is supposed to not let anyone be able to nudge me, but it didn't work.
No, the purpose of the script is to block people who send many nudges immediately after the other:
quote:
Originally posted by CookieRevised
Though this will not block a nudge from reaching you, but it will block the contact who is flooding you with nudges so he can't nudge you anymore.
so at least 1 nudge has to be received before it kicks in, hence
quote:
Originally posted by Dethredic
var floodCount = 0; // max amount of nudges allowed in the time period
is also wrong, as the minimum number of nudges detected can only be greather than one...
Or at least thats my understanding of this script anyway, so anyone feel free to correct me if I'm wrong