This i my scrip for win points in a NO RS map, see is very easy, i have other post asking if that is true (that == if you die recibe a rank) and is true and work perfect for me
alias san.winnernorsmap {
var %a = 0
while (%a <= $mta.server($1).cmax) {
if (!$mta.dead($1,%a)) !return %a
!inc %a
}
}
this the alias here the code
on *:SIGNAL:mta.death:{
if ($mta.rank($1,$2) == 2) {
if (*(NO*RS)* iswm $mta.race($1)) {
mta.text $1 $mta.nick($1,$san.winnernorsmap($1)) is the winner of te map " $+ $mta.race($1) $+ " and win one point!
!writeini -n $+(",$mta.dir,winmaps.ini") $mta.nick($1,$san.winnernorsmap($1)) mapasnorsganados $calc($readini($mta.dir $+ winmaps.ini,$mta.nick($1,$san.winnernorsmap($1)),mapasnorsganados) + 1)
}
}
}
i have the code for see the points but my scrips are in spanish and i must translate this and dont like now, maybe later