Code: Select all
if( $player_name == 'FatalError01 1'){
// do not add...
}
Code: Select all
class Player{
$money=0, $int=0, $str=0, $dex=0;
void Player(){}
bool is_valid(){
if($int <= 99 && $str <= 99 && $dex <= 99)
return true;
return false;
}
}
Code: Select all
LIST $players = []
// read in the files... and put into $players
Code: Select all
foreach $player in $players{
if(!$player->is_valid)
//remove player from list _before_ adding them to the "top stats" TXTs...
}
Disclaimer: the ideas above are now owned by Platyna.