TeamMode gives the current mode of play for the player's team.

Format: TeamMode [oper] mode

Arguments:

- [oper] (boolean): =, != (other operators not valid)
- mode (string):
  - single - single player
  - simul - 2 players simultaneously
  - turns - turns battle

Return type: boolean (1 if true or 0 if false)

Error conditions: none

Notes:

In survival mode, TeamMode = turns on the enemy side.

Example:

`trigger1 = TeamMode = Single
; Triggers if the player is playing in single play.`