OnFlagScore

From the Scripting Manual
procedure OnFlagScore(ID, TeamFlag: byte); Parameter Info: ID (Byte): Player ID of the player who scored the flag. TeamFlag (Byte): Team ID of the flag which was scored. Description: This procedure will be called every time a player captures the enemy flag.