Posted 28 January 2013 - 02:27 AM
Hello,
this is my attempt on a sort of little GUI or UI or I dont know how its called. This is going to be in my latest program (see signature) and I am a loss what to do now.
This was my attempt:
Thanks for the help
Hope you guys can help me out :)/>
this is my attempt on a sort of little GUI or UI or I dont know how its called. This is going to be in my latest program (see signature) and I am a loss what to do now.
This was my attempt:
print("Select functionality with arrowkeys, enter to continue.\n")
while true do
print(" [ Bone Meal ] Natural grow ")
local p1 = os.pullEvent("key")
if p1 == 205 then
term.setCursorPos(1,2)
term.clearLine()
term.setCursorPos(1,2)
print(" Bone Meal [ Natural Grow ]")
local param1 = os.pullEvent("key")
if param1 == 203 then
term.setCursorPos(1,2)
term.clearLine()
term.setCursorPos(1,2)
print(" [ Bone Meal ] Natural grow ")
elseif param1 == 28 then
break
end
elseif p1 == 28 then
meal = meal + 1
break
end
end
I prefer pastebin: http://pastebin.com/XSvaZgHvThanks for the help
Hope you guys can help me out :)/>