mIRC Home    About    Download    Register    News    Help

Print Thread
#171954 03/03/07 09:54 AM
Joined: Jan 2003
Posts: 36
S
s0tt0 Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Jan 2003
Posts: 36
I have a situation where bot says repeating messages from some other program like this (always the same text but somenick is different) : <botname> admin request by somenick

Now what I have to do is check if the above line will come 5 times in a row (somenick is spamming the adminreq command). If he repeats it 5 times then the somenick will get banned.

I know how to make that banning part and on TEXT part, but I don't have a clue where to start with that loop check (5 times in a row).

Please can someone explain this to me how can i check this?

TIA

Joined: Jan 2007
Posts: 280
Fjord artisan
Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
I've only a script, like this :

<Somebody> lal lal lal lal lal
* Somebody was kicked by SomeOne for reason: (Stop repeating. Stop Repeating. Stop Repeating. Stop Repeating.)

It's not for flood, just repeating in 1 line.
Dunno if you wanna have that one?


Squee whenever a squee squee's. Squee whenever a squee does not squee.

Link Copied to Clipboard