Gethighestintegervalue

Events


Time - Vote_Timer expires

Conditions

Actions


For each (Integer A) from 1 to 7, do (Actions)



Loop - Actions




If (IGametypevotecount[(Integer A)] Greater than Highest_VotecountArray) then do (Set Highest_VotecountArray = IGametypevotecount[(Integer A)]) else do (Do nothing)


-------- --------


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions



Highest_VotecountArray Equal to 1



Then - Actions




Game - Display to (All players) the text: Normal mode has bee...



Else - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions





Highest_VotecountArray Equal to 2





Then - Actions






Trigger - Run Notrade <gen> (ignoring conditions)






Game - Display to (All players) the text: No trader mode has ...





Else - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions







Highest_VotecountArray Equal to 3







Then - Actions








Game - Display to (All players) the text: No super ships mode...








Trigger - Run Nosuper <gen> (ignoring conditions)







Else - Actions








If (All Conditions are True) then do (Then Actions) else do (Else Actions)









If - Conditions









Highest_VotecountArray Equal to 4









Then - Actions










Game - Display to (All players) the text: Accelerated mode ha...










Trigger - Run Accl <gen> (ignoring conditions)









Else - Actions










If (All Conditions are True) then do (Then Actions) else do (Else Actions)











If - Conditions











Highest_VotecountArray Equal to 5











Then - Actions












Game - Display to (All players) the text: Accelerated No trad...












Trigger - Run Notrade <gen> (ignoring conditions)












Trigger - Run Accl <gen> (ignoring conditions)











Else - Actions












If (All Conditions are True) then do (Then Actions) else do (Else Actions)













If - Conditions













Highest_VotecountArray Equal to 6













Then - Actions














Game - Display to (All players) the text: No super ships/trad...














Trigger - Run Notrade <gen> (ignoring conditions)














Trigger - Run Accl <gen> (ignoring conditions)













Else - Actions