Python:
class DiSayer(DiSkillV2):
def __init__(self):
super().__init__()
self.cmdBreaker = AXCmdBreaker("say")
self.command = ""
def input(self, ear, skin, eye):
self.command = self.cmdBreaker.extractCmdParam(ear)
if self.command:
self.setSimpleAlg(self.command)
self.command = ""