I'm very new to this, and don't really understand it all that well, but I'm giving it a go, what's wrong here?
while true do
rs.setOutput(right, true)
sleep(1)
rs.setOutput(right, false)
end
Cheers
Lowprofile
I feel stupid asking this but?
Started by Lowprofile, Jun 01 2014 10:05 PM
3 replies to this topic
#1
Posted 01 June 2014 - 10:05 PM
#2
Posted 01 June 2014 - 11:19 PM
The side name needs to be a string, so use "right" instead of right.
#3
Posted 02 June 2014 - 06:01 AM
Tip: If there is not quotes on rs.setOutput(right,true) it means that your describing a variable but if you put quotes on both sides it means that your describing a string or the side of your rs output is.
Heres the Logic of rs.setOutput(right, true):
Heres the Logic with quotes:
Heres the Logic of rs.setOutput(right, true):
local right = "right" local left = "left" rs.setOutput(right, true) rs.setOutput(left, true)
Heres the Logic with quotes:
rs.setOutput("right", true)
rs.setOutput("left", true)
#4
Posted 03 June 2014 - 01:42 AM
Also, you have no delay inbetween the last redstone command and first, this will cause the redstone to always be on.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











