#!/usr/bin/python2 # TODO: Put this on Except ImportException(): print "This program requires PyAutoGUI installed" print "Use pip install pyautogui if you are lacking package" import pyautogui import random from time import sleep sleep(2) pyautogui.alert('Mouboo Botter version 0.1\nEnsure that ManaPlus windows is focused.\nThis program needs window on focus!') sleep(1) while True: pyautogui.press('ctrl') sleep(1) pyautogui.press('z') pyautogui.write(['z', 'z']) sleep(1)