Jump to content


masterdisasterHD's Content

There have been 3 items by masterdisasterHD (Search limited from 29-March 23)


By content type

See this member's

Sort by                Order  

#250967 [REQUEST] Wait for keypress or time

Posted by masterdisasterHD on 25 April 2016 - 07:37 PM in Ask a Pro

try this:

local timeout = 3

function ontimer()
sleep(timeout)
end

function onkey()
os.pullEvent('key')
end

parallel.waitForAny(ontimer, onkey) --This waits for either of the 2 functions to finish before continuing
--Further processing below this line



#251139 [MC 1.8.9-1.11.2] CC Tweaks

Posted by masterdisasterHD on 29 April 2016 - 02:10 PM in Peripherals and Turtle Upgrades

I can't get this to work across dimensions, any tips?



#259689 Draconic Evolution Reactor Controller

Posted by masterdisasterHD on 21 September 2016 - 07:45 AM in Programs

What kind of massive destruction :D?