Advertisement
Guest User

potatounplex

a guest
Sep 7th, 2019
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. local oses = {
  2.     "PotatOS",
  3.     "ShutdownOS",
  4.     "YomatOS",
  5.     "TomatOS"
  6. }
  7.  
  8. local function rand(list)
  9.     return list[math.random(1, #list)]
  10. end
  11.  
  12. local monitors = {peripheral.find "monitor"}
  13.  
  14. while true do
  15.     term.redirect(rand(monitors))
  16.     write(rand(oses) .. " ")
  17.     sleep(0.1)
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement