-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.py
53 lines (35 loc) · 1.01 KB
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# MCPI Hacks GUI Panel / Requires Python 3
import Tkinter
import tkMessageBox
import os
import sys
root = Tkinter.Tk()
root.title("MCPI Enhancer")
root.geometry('350x200')
# Hacks / Modules Start
def chatSpammer():
print "chat-spammer.py running"
os.system('python2 chat-spammer.py')
B = Tkinter.Button(root, text ="ChatSpammer", command = chatSpammer)
B.pack()
def scaffoldWalk():
print "scaffold.py running"
os.system('python2 scaffold.py')
B = Tkinter.Button(root, text ="Scaffold", command = scaffoldWalk)
B.pack()
def nametags():
print "nametagsGui running"
os.system('python2 mcpisettings/NameTags/gui.py')
B = Tkinter.Button(root, text ="NameTags", command = nametags)
B.pack()
def autojump():
print "autojumpGui running"
os.system('python2 mcpisettings/AutoJump/gui.py')
B = Tkinter.Button(root, text ="AutoJump", command = autojump)
B.pack()
def quit():
print "Good Bye!"
root.destroy()
B = Tkinter.Button(root, text ="Quit", command = quit)
B.pack()
root.mainloop()