Example #1
0
 def doCommand( self, command ):
     # # parse command as a lower case string
     command = command.lower()
     # * Split the command into little commands
     commands = SystemPlus.splitCommand( command )
     # * Save the command as the last command
     if len(commands) > 0 and commands[0] != 'r' and ( len(commands) == 0 or command != self.lastCommand ):
         self.lastCommand += command
     # * Parse commands and run it!
     self.parseCommand( commands )