Ejemplo n.º 1
0
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()
Ejemplo n.º 2
0
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
Ejemplo n.º 3
0
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
Ejemplo n.º 4
0
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