def checkpage(): """This function calls a subfunction of the theobot module, checkpage(). """ if bot.checkpage("User:Theo's Little Bot/disable/tafi arch") == True: return True else: print "Bot was disabled...quitting." sys.exit()
def sokay(donenow): """This function calls a subfunction of the theobot module, checkpage(). """ if donenow % 5 == 0: if bot.checkpage("User:Theo's Little Bot/disable/australia roads") == True: return True else: return False else: return True
def sokay(donenow): """Simple function to check checkpage. This function calls a sub-function of the theobot.bot module, checkpage(). """ if donenow % 5 == 0: if bot.checkpage("User:Theo's Little Bot/disable/tafi") == True: return True else: return False else: return True