by admiral 1 » 28 Jan 2009 09:24
ehr. maybe the loosing team should be able to score a challenge, that way if the challenged team does not "want" to race she can score that as being walked over herself? Now the winning team is preset as your own team, a simple conditional loop and not presetting the own team as winner should fix that...
God can score any result, other user can score a result with their own team as looser or as winner, between teams.
if (($user=='God' || $looser=='own_team' || $winner=='own_team') && $looser != $winner)) {
do scoring bit;
}
ELSE {
print "error text";
do enter_result bit;
}
Edited By admiral 1 on 1233127897
Theeuwes de Jong, skipper of Admiral
"As far as I can remember, there aren't a lot of points of land or holidays named after people who sat at home and criticized Christopher Columbus."
( Paul Cayard, from the Pirates base, in an e-mail to race HQ. 25 Jan 2006 volvooceanrace.org)