blob: 72a44b0f28a0cdde6462200e82d28b051900d502 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/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)
|