Posted 14 January 2017 - 03:48 PM
So I'm trying to make a poll program where player get on the computer it tells them the poll number and the question, then below that it will have answer and quit
Poll 01
Question: What do you think of Minecraft?
[answer] [quit]
if they hit answer it will take them to a writing area where they can type up their answer, then his print and it will be printed.
the only thing is I don't know how to get it to where they can click on answer or quit and once there done and hit quite how to get it to go back to the beginning.
I'm also doing this on a server that does allow you to download programs off Pastebin and it is on tekkit lite which is version 1.4.7 of Minecraft,
So this is what i have so far
startup
shell.run("poll")
poll
term.setCursorPos(1, 1)
print("Poll 01 ")
term.setCursorPos(1, 3)
print("Question: what do you think of minecraft?")
term.setCursorPos(15, 10)
print("[Answer]")
term.setCursorPos(30, 10)
print("[Quit]")
Answer
shell.run("edit pollA")
Quit
shell.run("delete pollA")
os.shutdown()
Poll 01
Question: What do you think of Minecraft?
[answer] [quit]
if they hit answer it will take them to a writing area where they can type up their answer, then his print and it will be printed.
the only thing is I don't know how to get it to where they can click on answer or quit and once there done and hit quite how to get it to go back to the beginning.
I'm also doing this on a server that does allow you to download programs off Pastebin and it is on tekkit lite which is version 1.4.7 of Minecraft,
So this is what i have so far
startup
shell.run("poll")
poll
term.setCursorPos(1, 1)
print("Poll 01 ")
term.setCursorPos(1, 3)
print("Question: what do you think of minecraft?")
term.setCursorPos(15, 10)
print("[Answer]")
term.setCursorPos(30, 10)
print("[Quit]")
Answer
shell.run("edit pollA")
Quit
shell.run("delete pollA")
os.shutdown()
Edited on 16 January 2017 - 04:13 AM