Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- shell.run("delete table")
- shell.run("pastebin get QAXBCvmv table")
- shell.run("table")
- term.clear()
- term.setCursorPos(1,1)
- term.write("Enter precise name of chemical: ")
- input = read()
- for k, v in pairs(drugs) do
- if input == k then
- term.clear()
- term.setCursorPos(1,1)
- term.write("Effects of your chosen drug: ")
- term.setCursorPos(1,2)
- term.write(v)
- term.setCursorPos(1,4)
- term.write("Press any key to continue")
- os.pullEvent("key")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement