I want to implement AIML for NPC in vegastrike .
My need is to find out a way to talk to my bots , an interface .
Looking in the GUY.py sources , i've found :
http://spacetechs.free.fr/VEGASTRIKEDEV ... ialog.html
Do you think that is a convenient way for my project ?"""------------------------------------------------------------------"""
""" """
""" GUITextInputDialog - a little dialog in which you can enter text """
""" """
"""------------------------------------------------------------------"""
class GUITextInputDialog(GUIGroup):
def __init__(self,room,index,location,text,action,color,**kwargs):
GUIGroup.__init__(self,room,kwargs)
self.children.append(GUILineEdit(self.editcallback,room,index,text,location,color))
( the player type " hello " , the bot say " hello sir " )
I need examples how to script a input/output console .
Can you help me ?