def sendmenu(): while True: print '\nChoose an option to send Pokemon:' print 'o - send one Pokemon to game' print 'm - choose & send multiple Pokemon to game' print 'f - send all Pokemon in queue folder' print 'c - choose folder full of Pokemon to send' print 'r - return to main menu' print 'q - quit\n' print '\nPlease type your option, and press Enter\n' soption = raw_input().strip().lower() if soption.startswith('o'): clear() sendpkm() elif soption.startswith('m'): clear() multisend() elif soption.startswith('f'): clear() queuesend() elif soption.startswith('c'): clear() customqueuesend() elif soption.startswith('r'): clear() break elif soption.startswith('q'): print 'Quitting program' cleanexit() else: print 'Invalid option, try again' continue print 'Returning to send menu...'
def sendmenu(): while True: print '\nChoose an option to send Pokemon:' print 'o - send one Pokemon to game' print 'm - choose & send multiple Pokemon to game' print 'f - send all Pokemon in queue folder' print 'c - choose folder full of Pokemon to send' #print 'd - download and send a pkm from Pokecheck.org to game' print 'r - return to main menu' print 'q - quit\n' print '\nPlease type your option, and press Enter\n' soption = raw_input().strip().lower() if soption.startswith('o'): sendpkm() elif soption.startswith('m'):multisend() elif soption.startswith('f'): queuesend() elif soption.startswith('c'): customqueuesend() #elif soption.startswith('d'): pcdownload() elif soption.startswith('r'): break elif soption.startswith('q'): print 'Quitting program' exit() else: print 'Invalid option, try again' continue print 'Returning to send menu...'
os.system('sudo ' + argv[0] + ' root') exit(0) print gtsvar.version initServ() sleep(1) done = False while True: print 'Choose an option:' print 's - send pkm to game', 'r - receive pkm from game' print 'm - receive multiple pkms from game', 'q - quit' option = raw_input().strip().lower() if option.startswith('s'): sendpkm() elif option.startswith('r'): getpkm() elif option.startswith('m'): print 'Press ctrl + c to return to main menu' while True: try: getpkm() except KeyboardInterrupt: break elif option.startswith('q'): print 'Quitting program' break else: print 'Invalid option, try again' continue
os.system('sudo ' + argv[0] + ' root') exit(0) print gtsvar.version initServ() sleep(1) done = False while True: print 'Choose an option:' print 's - send pkm to game', 'r - receive pkm from game' print 'm - receive multiple pkms from game', 'q - quit' option = raw_input().strip().lower() if option.startswith('s'): sendpkm() elif option.startswith('r'): getpkm() elif option.startswith('m'): print 'Press ctrl + c to return to main menu' while True: try: getpkm() except KeyboardInterrupt: break elif option.startswith('q'): print 'Quitting program' break else: print 'Invalid option, try again' continue print 'Returning to main menu'