OnGameEnd

From the Scripting Manual
procedure OnGameEnd; Parameter Info: None Description: This procedure will be called every time the current game ends via Time Limit or Score Limit.