I have a problem with my script:
alias gus.warnings !return $iif($readini($scriptdir $+ warnings.ini,WARNINGS,$mta.nick($1,$2)),$readini($scriptdir $+ warnings.ini,WARNINGS,$mta.nick($1,$2)),0)
and
elseif (!givewarning* iswm $3) {
if ($gus.level($1,$2) >= 10) {
if (%a == -1) { mta.pm $1 $2 Error - Absent ID }
else {
!writeini -n " $+ $scriptdir $+ warnings.ini" WARNINGS $mta.nick($1,%a) $gus.add($gus.warnings($1,$2),1)
mta.text $1 $mta.nick($1,%a) has got a warning! }
}
The script is just like like the stats-system.
But now I need a code if you have 3 warnings you will get an auto-ban, can somebody help me with that code?