mIRC Home    About    Download    Register    News    Help

Print Thread
#62362 30/11/03 01:30 PM
Joined: Dec 2002
Posts: 334
F
Fjord artisan
OP Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 334
on *:TEXT:*:#Chan:{ if (($chr(33) && $chr(63) && $chr(95) && $chr(2) && $chr(31) && $chr(68) && $chr(65) && $chr(78) && $chr(71) && $chr(69) && $chr(82)) isin $1-) { mode #Chan +MRb $address($nick,2) | kick #Chan $nick Flooo000000000000oooooood! } }

The thing is I need this to bad when all the $chr's in a msg in random order... but it kicks for example for r or for d... (on some tests it kicked someone for saying "u made scripts"

The flood msgs we do get look like

danger!_!DANGER??¿¿??danger!_!DANGER??¿¿??danger!_!DANGER??¿¿??danger!_!DANGER??¿¿??danger!_!DANGER??¿¿??danger!_!DANGER??¿¿??danger!_!DANGER??¿¿??danger!_!DANGER??¿¿??danger!_!DANGER??¿¿??danger!_!D

but they change the ccodes and the ?!'s place on every flood..

So I want the script to tiger with D, A, N, G, E, R, _, ?, !, , and  are in the same line in any order to kick the user...

Any help welcome.

C
Canario
Canario
C
Code:
ON @*:TEXT:*:#channel:{
  if ((*danger* iswm $strip($1-)) && ($chr(63) isin $1-) && ($chr(191) isin $1-) && ($chr(33) isin $1-)) { 
    mode #channel +MRb $wildsite 
    kick #channel $nick Flooo000000000000oooooood!
  }
}

Joined: Dec 2002
Posts: 334
F
Fjord artisan
OP Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 334
Thank you.

A
Afflicted_D2
Afflicted_D2
A

ON @*:TEXT:*:#channel:{ if ((*danger* iswm $strip($1-)) && ($chr(63) isin $1-) && ($chr(191) isin $1-) && ($chr(33) isin $1-)) { mode #channel +MRb $wildsite kick #channel $nick Flooo000000000000oooooood! }}
Very interesting, but I have a question, where do I write this code... in remote?

Joined: Jan 2003
Posts: 1,057
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,057
yes... preferibly at the top of a clean remote file because it's an catch all event (only for one channel though but still)


Link Copied to Clipboard