'Uses the mob\'s set_alive/set_dead methods
to turn on/off the mob."'

def func(self):

    if (not self.args):
        self.caller.msg('Usage:    mobon|moboff    <mob>')
        return
    mob = self.caller.search(self.args)
    if (not mob):
        return
    if (self.cmdstring == 'mobon'):
        mob.set_alive()
    else:
        mob.set_dead()
