Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Reaktor Steuerung:")
- term.setCursorPos(3,5)
- term.setBackgroundColor(colors.green)
- write("ON")
- term.setBackgroundColor(colors.black)
- write("/")
- term.setBackgroundColor(colors.red)
- write("OFF")
- term.setBackgroundColor(colors.black)
- while true do
- local event, button, X, Y = os.pullEvent("mouse_click")
- if X >= 3 and X <= 8 and Y == 5 and button == 1 then
- shell.run("passwort")
- break
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement