Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- args = {...}
- if #args == 0 then
- print("Usage: alert <monitor side>")
- else
- monitor = peripheral.wrap(args[1])
- while true do
- receive = http.post("http://www.ccpost.esy.es/ccpost.php", "FUCK NO")
- alert = receive.readAll()
- length = string.len(alert)
- monsize = monitor.getSize()
- start = (monsize - monsize) - length
- monitor.clear()
- for i = start,monsize + 1 do
- monitor.setCursorPos(i,1)
- monitor.write(alert)
- sleep(0.1)
- if i ~= monsize then
- monitor.clear()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement