Yobi

Hub

Feb 27th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. print("Welcome to the display board control panel.")
  2. print("Commands are: create, delete, display")
  3. inputdone = false
  4. while inputdone == false do
  5. print("Please enter action.")
  6. input = read()
  7. if input == "create" then
  8. shell.run("newsign")
  9. inputdone = true
  10. elseif input == "delete" then
  11. shell.run("delsign")
  12. inputdone = true
  13. elseif input == "display" then
  14. shell.run("display")
  15. inputdone = true
  16. else print("Input not recognised.")
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment