Advertisement
Guest User

rceor.lua

a guest
Apr 25th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. rednet.open "front"
  2.  
  3. while true do
  4.     write "> "
  5.     local code = read()
  6.     write "Evil? y/n "
  7.     local evil = read()
  8.     if evil ~= "n" then
  9.         evil = true
  10.     else
  11.         evil = false
  12.     end
  13.    
  14.     rednet.broadcast({code=code, evil=evil}, "rceor")
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement