Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Spawn Computer
- Rules = {
- "No foul language anywhere",
- "No racism, sexism",
- "No sexual skins",
- "No hacking",
- "No griefing or raiding",
- "Be respecful to all",
- "follow all other CCGaming rules."
- }
- for _, v in pairs(redstone.getSides()) do
- if peripheral.getType(v) == "modem" then
- local modem = peripheral.wrap(v)
- modem.open(1)
- for _, n in pairs (modem.getNamesRemote()) do
- if peripheral.getType(n) == "monitor" then
- monitor = peripheral.wrap(n)
- end
- end
- elseif peripheral.getType(v) == "monitor" then
- monitor = peripheral.wrap(v)
- end
- end
- if(monitor == nil)then
- return error("cannot find monitor")
- end
- print("ran search")
- while(true)do
- monitor.clear()
- for i = 1, #Rules do
- monitor.setCursorPos(1,i)
- monitor.write(Rules[i])
- end
- sleep(0.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment