Posted 26 March 2015 - 02:29 PM
I wrote this program:
write("How many Nether Stars do you want?")
local Num = tonumber( read() )
for i=1,Num do
redstone.setOutput("top", false)
sleep(1)
redstone.setOutput("top", true)
sleep(2)
redstone..setOutput("top", false)
sleep(1)
Print("You got "..tostring(i).." Nether Stars."
end
and it's working fine but i want it on a advanced monitor with buttons but i don't know how, can someone help?
Thanks in advance
write("How many Nether Stars do you want?")
local Num = tonumber( read() )
for i=1,Num do
redstone.setOutput("top", false)
sleep(1)
redstone.setOutput("top", true)
sleep(2)
redstone..setOutput("top", false)
sleep(1)
Print("You got "..tostring(i).." Nether Stars."
end
and it's working fine but i want it on a advanced monitor with buttons but i don't know how, can someone help?
Thanks in advance