a
XoX, on 13 November 2012 - 09:13 AM, said:
Well, the code is fine so you must have misspelled something.
Make sure you capitalize the variables the same way every time. That is most likely the issue,
What i think it is, is that the os.time() command return time in ticks and not in number i tried to do
if os.time() >= 0 or os.time() == 12000 then
rs.setOutput("bottom", false) -- should be day as 0 equals sundawn and 12000 equals sunset
else
rs.setOutput("bottom", true) -- obviously if it is not day it is night...
end
but it still did'nt worked so i guess my only option now is to cry... i'm really out of idea.