OMG How stupid, I'll retyp it in english:
I'm searchin a very long time for a script where I can warn campers with on MTA-SA. So when I do !camp that player will get warned with a text. He should be kicked after 2 warnings. Ive got this script from lil (working perfect!!! Thanks lil!!):
}
on *:SIGNAL:mta.text:{
if ($len($3-) > 10) && ($calc($len($3-) - $len($removecs($3-,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z))) >= $calc($len($3-) * 0.7)) {
!writeini -n $+(",$mta.dir,$1.ini,") $2 warnings $calc($readini($mta.dir $+ $1.ini,$2,warnings) + 1)
var %a = $readini($mta.dir $+ $1.ini,$2,warnings)
if (%a >= 3) {
mta.text $1 $mta.nick($1,$2) reached the warnings limit and will be kicked! (Too much caps used)
mta.kick $1 $2
}
else mta.text $1 $mta.nick($1,$2) has been warned! $calc(3 - %a) more $iif($calc(3 - %a) == 1,warning,warnings) and he will be kicked! (Too much caps used)
}
}
I tryed to edit it to !camp but it didnt work because when I do !camp with mta.nick($1,a%) it is warning from ID 3 to ID 1 i thought. I hope someone could edit this script to a warn script for me like the script above but than for !camp
Really really really many thanks!!!