daily pastebin goal


a guest Jun 25th, 2018 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2.   shell.run("clear")
  3.   write("Chcete zapnout nebo vypnout svetla? ")
  4.   write("Napiste Zapnout nebo Vypnout (Velke zacatecni pismeno)
  5.   local YesOrNo = read()
  6.   if YesOrNo == "Zapnout" then
  7.     print("Zapinam svetla!")
  8.     rs.setOutput("back", true)
  9.   elseif YesorNo == "Vypnout" then
  10.     rs.setOutput("back", false)
  11.     print("Vypinam svetla!")
  12.   else
  13.     print("Napiste Zapnout nebo Vypnout...")
  14.     sleep(3)
  15.   end
  16. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand