Hey!
I've programmed a ticket system for a train station so I have to make an if query...
..but this if query doesn't work....
[Note: I will check if the redstone signal on the bottom of the computer turned on.]
!! Important: No error is displayed !!
So whats wrong with my code?
Can you help me?
local sides = require("sides")
local component = require("component")
local rs = component.redstone
## Code here
while true do
if rs.getOutput(sides.bottom, 15) == true then
## Code here
end
end
Thanks in advance!
-