Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Welcome to the display board control panel.")
- print("Commands are: create, delete, display")
- inputdone = false
- while inputdone == false do
- print("Please enter action.")
- input = read()
- if input == "create" then
- shell.run("newsign")
- inputdone = true
- elseif input == "delete" then
- shell.run("delsign")
- inputdone = true
- elseif input == "display" then
- shell.run("display")
- inputdone = true
- else print("Input not recognised.")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment