40 posts
Posted 10 May 2015 - 01:36 PM
tbn = peripheral.wrap("back")
while true do
if rs.getInput("left") ~= true then
tbn.setActive(true)
else
tbn.setActive(false)
end
sleep(1)
end
it returns bios:367: [string "run"]:5: 'then' expected
Edited on 10 May 2015 - 12:24 PM
57 posts
Location
Universe:C:/MilkyWay/Sol/Earth/Europe/Germany
Posted 10 May 2015 - 01:49 PM
I don't have BigReactors, but I this code works pretty fine if i replace tbn with a monitor and setActive with write.
I hope you didn't type [indent] and the bracket in line 7 into the code.
Edited on 10 May 2015 - 11:50 AM
40 posts
Posted 10 May 2015 - 02:24 PM
::::
Edited on 10 May 2015 - 12:53 PM
40 posts
Posted 10 May 2015 - 02:52 PM
I don't have BigReactors, but I this code works pretty fine if i replace tbn with a monitor and setActive with write.
I hope you didn't type [indent] and the bracket in line 7 into the code.
oh i didnt
also it didnt work:(
57 posts
Location
Universe:C:/MilkyWay/Sol/Earth/Europe/Germany
Posted 10 May 2015 - 03:50 PM
It might be that you have a typo in your program.
But maybe there's something wrong with your ComputerCraft.
You coud try reinstalling. Backup your files and download CC again.
The files should be in
C:\Users\YOUWONTGETMYREALNAME\AppData\Roaming\.minecraft\saves\<YourWorldName>\computer, if you are on Windows7.
If you are on an other Windows, enter %APPDATA% to the addres bar of the file browser. You should see the .minecraft folder then, if it's not hidden.
But when you are on an other Operating system, I'm afraid I can't tell you where the files are :(/>
Edited on 10 May 2015 - 01:52 PM
8543 posts
Posted 10 May 2015 - 04:47 PM
Please make sure that you've either directly copied and pasted this code, or if you've retyped it, please verify that each and every individual character and line break matches the code you're actually running.