mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 48
O
oSaYaP Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jan 2003
Posts: 48
Hi ! I am from Argentina .. and i wanna know how to create a CAPS protection that kickban the user who write with CAPS LIKE THIS ..
I created a remote but when the user write only "one cap" like this "A" my script bans him .. and i don´t know how to create it ..
Thanks a lot .. sorry for my bad english :P


-= Porque pese a todo Dios .. aún te tengo fé =-
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
on @*:TEXT:*:#:{
if ( $$1- isupper ) && ( $len($$1-) >= 10 ) {
kick # $nick Caps Flood
}
}

^That will kick a person if they type a sentence of 10 or more letters in caps.

#4992 05/01/03 04:04 AM
Joined: Jan 2003
Posts: 48
O
oSaYaP Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jan 2003
Posts: 48
Thank you very much .. i was trying to creat it such 2 years ago !! jajajaja thanks a lot !!!!


-= Porque pese a todo Dios .. aún te tengo fé =-
#4993 05/01/03 04:23 AM
Joined: Jan 2003
Posts: 48
O
oSaYaP Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jan 2003
Posts: 48
The problem is that the remote kick someone who write only one letter in caps .. look this ..

<AlEjAnDrA> 0,12*12,0*0,12*12,0*0,12*12,0*0,12*12,0*0,12 =/ 12,0*0,12*12,0*0,12*12,0*0,12*12,0*0,12*
*** PaYaSo pone modo:+b AlEjAnDrA!*GlsuP@phOJ-user.AAQs0Yd.RedHispana.VRT
8||0KICK8||:0 AlEjAnDrA 3kikeado por 15 PaYaSo 8 Razon: 15(Caps Flood)

=o( what could be ?


-= Porque pese a todo Dios .. aún te tengo fé =-
#4994 05/01/03 04:28 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
on @*:TEXT:*:#:{
if ( $strip($$1-) isupper ) && ( $len($strip($$1-)) >= 10 ) {
kick # $nick Caps Flood
}
}

Joined: Jan 2003
Posts: 48
O
oSaYaP Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jan 2003
Posts: 48
grrrrr... it doen´t work ... the remote is kiking
could you please enter to chat.clarin.com.ar channel #entra for some minutes pleaseee ? smile
If you can´t there is not problem
Thanks blush)


-= Porque pese a todo Dios .. aún te tengo fé =-
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
That is because mIRC is counting the * symbols as capitals...I'll try to find a way round it...

Joined: Dec 2002
Posts: 54
L
laz Offline
Babel fish
Offline
Babel fish
L
Joined: Dec 2002
Posts: 54

#4998 09/01/03 12:33 AM
Joined: Jan 2003
Posts: 48
O
oSaYaP Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jan 2003
Posts: 48
Thanks all :O) wink


-= Porque pese a todo Dios .. aún te tengo fé =-

Link Copied to Clipboard