original_docstring: Command for joining a team.
docstring: Command for joining a team.
docstring_tokens: Command for joining a team .
code: def join(script, team=None):
      """Command for joining a team."""
      player = script.get_player(None)
      if player is None:
          return ("This command can't be issued from " +
              "server command line.")
      else:
          if team is None:
              return 'Please choose a team: blue or red'
          else:
              ctfscript = script.server.scripts.capture_the_flag
              return ctfscript.game_state.join(player, team)
code_tokens: def join ( script , team = None ) : player = script . get_player ( None ) if player is None : return ( "This command can't be issued from " + "server command line." ) else : if team is None : return 'Please choose a team: blue or red' else : ctfscript = script . server . scripts . capture_the_flag return ctfscript . game_state . join ( player , team )
short_docstring: Command for joining a team.
short_docstring_tokens: Command for joining a team .
comment: """Command for joining a team."""