def evtable_parse_input(menuobject, raw_string, caller):
 cmd = raw_string.strip().lower()
 if (cmd in menuobject.options):
  (goto, callback) = menuobject.options[cmd]
  menuobject.callback_goto(callback, goto, raw_string)
 elif (menuobject.auto_look and (cmd in ('look', 'l'))):
  menuobject.display_nodetext()
 elif (menuobject.auto_help and (cmd in ('help', 'h'))):
  menuobject.display_helptext()
 elif (menuobject.auto_quit and (cmd in ('quit', 'q', 'exit'))):
  menuobject.close_menu()
 elif menuobject.default:
  (goto, callback) = menuobject.default
  menuobject.callback_goto(callback, goto, raw_string)
 else:
  caller.msg(_HELP_NO_OPTION_MATCH, session=menuobject._session)
 if (not (menuobject.options or menuobject.default)):
  menuobject.close_menu()

def evtable_parse_input ( menuobject , raw_string , caller ) : cmd = raw_string . strip ( ) . lower ( ) if ( cmd in menuobject . options ) : ( goto , callback ) = menuobject . options [ cmd ] menuobject . callback_goto ( callback , goto , raw_string ) elif ( menuobject . auto_look and ( cmd in ( 'look' , 'l' ) ) ) : menuobject . display_nodetext ( ) elif ( menuobject . auto_help and ( cmd in ( 'help' , 'h' ) ) ) : menuobject . display_helptext ( ) elif ( menuobject . auto_quit and ( cmd in ( 'quit' , 'q' , 'exit' ) ) ) : menuobject . close_menu ( ) elif menuobject . default : ( goto , callback ) = menuobject . default menuobject . callback_goto ( callback , goto , raw_string ) else : caller . msg ( _HELP_NO_OPTION_MATCH , session = menuobject . _session ) if ( not ( menuobject . options or menuobject . default ) ) : menuobject . close_menu ( )
processes the users node inputs .