import sys def setup(core, actor, target, command): return def run(core, actor, target, commandString): pet = actor.getCalledPet() pet.addDefender(target); return