Exemple #1
0
def checkIfPersonIsIgnoredByBot():
	
	import pybot
	
	if arr.checkIfReal(pybot.ignoredByBot):
		for x in pybot.ignoredByBot:
			if pybot.data[1:pybot.data.index('!')]==x:
				return True
				
	return False
Exemple #2
0
def checkIfCanExecuteAggressive():
	
	import pybot
	
	if pybot.notAllowHarmful==0:
		return True
		
	if arr.checkIfReal(pybot.allowedHarmfulFor):
		for x in pybot.allowedHarmfulFor:
			if pybot.data[1:pybot.data.index('!')]==x:
				return True
			if pybot.data[1:pybot.data.index('!')]==pybot.owner:
				return True
				
	return False