mIRC Homepage
Posted By: Julepils Anti Flood (trigger) - 26/06/04 02:59 AM
Hi again everyone,

Lets just get to the point right away shall we wink

on *:TEXT:!status:#chan: {
msg #chan the status is blablabla
}

How do you create a anti-flood protection so people wont be able to type !status hundres of times, so it doesnt flood me or annoy the people... smile

Thank you.. smile
Mostregards, Julepils.
Posted By: KingTomato Re: Anti Flood (trigger) - 26/06/04 03:21 AM
on *:TEXT:status:#chan: {
.timerstatus 1 5 /msg $chan status is blahblahblah
}
Posted By: Julepils Re: Anti Flood (trigger) - 26/06/04 05:09 AM
Yeah but that wouldnt exactly be anti-flood, and its /timer not /timerstatus :tongue: Heh..

There would build up lots of timers, and it would come anyway just delayed.. would be a bit annoying.. heh..
Posted By: Nobodi Re: Anti Flood (trigger) - 26/06/04 06:08 AM
/timerstatus would start a named timer which would be restarted each time someone used the trigger .
Posted By: Seifer Re: Anti Flood (trigger) - 26/06/04 07:29 AM
Don't take this the wrong way, but I think you should spend a day or two reading the mIRC help file.
Posted By: tsoglanos Re: Anti Flood (trigger) - 26/06/04 10:02 AM
on *:TEXT:!status:#: {
inc -u30 %s 1
if (%s < 3) { msg # the status is blablabla }
}
this may be a good solution so the command can be called General 2times in 30 secs

Posted By: Julepils Re: Anti Flood (trigger) - 26/06/04 01:04 PM
Hehe, so much easier by getting people who already know how to do such things to tell/teach you - and by easy-scripting for several years (even though i havent experimented anything special so rusty as a newbie), but uhm i learn very quick so smile
Posted By: Julepils Re: Anti Flood (trigger) - 26/06/04 01:04 PM
Thanks alot mate, realy appriciate it! smile
Posted By: Seifer Re: Anti Flood (trigger) - 26/06/04 01:52 PM
Only reason I suggested that is because if you did, you'd know that by adding to the end of the /timer command (/timerstatus for example), you;ll create a timer named 'status'. Therefore, the command /timerstatus 1 5 .msg Nick ... would not create several timers but reset/start the timer named 'status' each time it's executed.
© mIRC Discussion Forums