The CommandEvent object extends Event to represent a command activation beginning, continuing, or ending.
In addition to the properties of Event:
CommandEvent.phase: The command phase that this event describes. This read-only string parameter can be "begin", "continue", or "end".XPLMCommandPhase describes the different command phases.