Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- config
- local modemSide = "top"
- local serverId = 10
- -- End of config
- -- INPORTANT!!!!
- -- make sure that you have httpApi: Enabled !!!!
- -- Begin of Code...
- term.clear()
- term.setCursorPos(1,1)
- function frame()
- print(" ______________/SteamCraft\_____________________ ")
- print(" | | ")
- print(" | +-----------------------+ | ")
- print(" | |By gijsvdsande | | ")
- print(" | +-----------------------+ | ")
- print(" | | ")
- print(" \_______________________________________________/ ")
- end
- function LoadGui()
- term.clear()
- print(" _________________/GameMenu\_______________ ")
- print(" | New!!!!!|"..message.." | ")
- print(" +------------------------------------------+ ")
- print(" | Your games: Worm | ")
- print(" | | ")
- print(" \_____________|Store|______________________/ ")
- rednet.send(serverId,"Im logged In! ")
- end
- frame()
- event,arg,x,y = os.pullEvent("mouse_click")
- term.setCursorPos(x,y)
- write("We go to the store!")
- term.clear()
- term.setCursorPos(1,1)
- LoadGui()
- event,arg,x,y = os.pullEvent("mouse_click")
- term.setCursorPos(1,5)
- write("nu In de store mineception download??? ")
- event,arg,x,y = os.pullEvent("mouse_click")
- term.setCursorPos(1,5)
- write("downloading...")
- shell.run("pastebin","get","wmdAN3kN","steamCMD1")
- term.clear()
- LoadGui()
- x = io.read()
- if x == "Worm" then
- shell.run("worm")
- elseif x == "mineception" then
- shell.run("mineception")
- else
- print("Not A Game ")
- term.clear()
- LoadGui()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement