I have this really cool code i wana share. But i need FULL credit. I have copyright .
Here it is. It will make your pet say stuff in a random order
def onSpawn(e):
while True:
enemy = pet.findNearestByType("munchkin")
i = Math.random()
i = i*2
i = Math.round(i)
# Find and fetch a "potion":
random = ["All hail EnderLord832!", "Kill them!", "I know you can do it !!"]
pet.trick()
# Find and fetch a "potion":
pet.say(random[i])
pet.moveXY(hero.pos.x, hero.pos.y)