'This performs the actual command.'

def func(self):

    here = self.caller.location
    fighters = []
    if (not self.caller.db.hp):
        self.caller.msg("You    can't    start    a    fight    if    you've    been    defeated!")
        return
    if is_in_combat(self.caller):
        self.caller.msg("You're    already    in    a    fight!")
        return
    for thing in here.contents:
        if thing.db.HP:
            fighters.append(thing)
    if (len(fighters) <= 1):
        self.caller.msg("There's    nobody    here    to    fight!")
        return
    if here.db.Combat_TurnHandler:
        here.msg_contents(('%s    joins    the    fight!' % self.caller))
        here.db.Combat_TurnHandler.join_fight(self.caller)
        return
    here.msg_contents(('%s    starts    a    fight!' % self.caller))
    here.scripts.add('contrib.turnbattle.TurnHandler')
