I think this is a bit more advanced than that
But try this:
on *:Signal.mta.win: {
mta.freeze $1 $4
mta.text $1 $mta.nick($1,$2) Has won as the last player Alive and therfore has been frozen until the next map!
!writeini -n wins.ini winini $mta.nick($1,$2) yes
}
if ( $pgs.cash($1,$2) == $null ) && ($readini(cash.ini,win,$mta.nick($1,$2)) != yes) {
!writeini -n cash.ini maincash $mta.nick($1,$2) 350
!writeini -n cash.ini win $mta.nick($1,$2) yes
mta.pm $1 $2 Cash earned: $ $+ 350 Total Cash: $pgs.cash($1,$2)
}
}
on *:Signal.mta.command: {
if ($3 == !scriptbug) {
!writeini -n script.ini win $mta.nick($1,$2) yes
mta.pm $1 $2 Your Bug Has Been Reported into an ini !
}
}
on *:Signal.mta.join: {
.timerjoin $1 $3 Using Freezing Script by: -XIII-4Cazp.UK
}
}
Hope that works, but as i say, i havnt tested ^^
i made it compatible with prs/pgs so it saves to your normal cash