Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("delete terraria")
- shell.run("pastebin get 9Pit75eD terraria")
- term.setBackgroundColor(colors.black)
- m=peripheral.wrap("right")
- term.clear()
- m.setCursorPos(1,1)
- --print("Setzte einen Adv.")
- --print("Monitor neben den PC")
- bild=paintutils.loadImage("ecco")
- paintutils.drawImage(bild,1,3)
- while true do
- if peripheral.getType("left") == "monitor" then
- m=peripheral.wrap("left")
- m.setCursorPos(1,1)
- m.write("X Musik")
- m.setCursorPos(1,2)
- m.write("X Chat")
- event, button, x, y = os.pullEvent("monitor_touch")
- if y==1 then
- m.setCursorPos(1,1)
- m.write("O Musik")
- shell.run("terraria")
- end
- if y==2 then
- if peripheral.getType("back")=="modem" then
- rednet.open("back")
- m.setCursorPos(1,2)
- m.write("O Chat")
- m.setTextColor(32768)
- m.setBackgroundColor(32768)
- m.clear()
- m.setCursorPos(1,18)
- m.write("ChatModus")
- paintutils.drawImage(bild,1,3)
- m.setBackgroundColor(1)
- m.write("ChatModus")
- m.setCursorPos(1,19)
- message=io.read()
- rednet.send(11242,message)
- else
- print("kein modem")
- end
- end
- end
- end
- --shell.run("delete eccotroll")
- ---shell.run("pastebin get 1PusvXGx eccotroll")
- --term.setBackgroundColor(colors.black)
- --term.clear()
- --bild=paintutils.loadImage("ecco")
- --paintutils.drawImage(bild,1,1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement