Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- id = os.getComputerID()
- if id == 0 then
- mon = peripheral.wrap("monitor_0")
- elseif id == 1 then
- mon = peripheral.wrap("monitor_1")
- end
- mon.setTextScale(0.5)
- shell.run("clear")
- print("Abmelden .")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("Abmelden .")
- sleep(1.0)
- shell.run("clear")
- print("Abmelden ..")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("Abmelden ..")
- sleep(1.0)
- shell.run("clear")
- print("Abmelden ...")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("Abmelden ...")
- sleep(1.0)
- shell.run("clear")
- print("Abmelden .")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("Abmelden .")
- sleep(1.0)
- shell.run("clear")
- print("Abmelden ..")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("Abmelden ..")
- sleep(1.0)
- shell.run("clear")
- print("Abmelden ...")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("Abmelden ...")
- sleep(1.0)
- shell.run("clear")
- print("Abmelden .")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("Abmelden .")
- sleep(1.0)
- shell.run("clear")
- print("Abmelden ..")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("Abmelden ..")
- sleep(1.0)
- shell.run("clear")
- print("Abmelden ...")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("Abmelden ...")
- sleep(1.0)
- if id == 0 then
- sp1 = peripheral.wrap("speaker_0")
- sp2 = peripheral.wrap("speaker_1")
- elseif id == 1 then
- sp1 = peripheral.wrap("speaker_3")
- sp2 = peripheral.wrap("speaker_4")
- end
- sp1.playSound("block.portal.travel")
- sp2.playSound("block.portal.travel")
- shell.run("clear")
- print("PC wird heruntergefahren .")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("PC wird heruntergefahren .")
- sleep(1.0)
- shell.run("clear")
- print("PC wird heruntergefahren ..")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("PC wird heruntergefahren ..")
- sleep(1.0)
- shell.run("clear")
- print("PC wird heruntergefahren ...")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("PC wird heruntergefahren ...")
- sleep(1.0)
- shell.run("clear")
- print("PC wird heruntergefahren .")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("PC wird heruntergefahren .")
- sleep(1.0)
- shell.run("clear")
- print("PC wird heruntergefahren ..")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("PC wird heruntergefahren ..")
- sleep(1.0)
- shell.run("clear")
- print("PC wird heruntergefahren ...")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("PC wird heruntergefahren ...")
- sleep(1.0)
- shell.run("clear")
- mon.clear()
- os.shutdown()
Advertisement
Add Comment
Please, Sign In to add comment