- ComputerCraft | Programmable Computers for Minecraft
- → habnef3's Content
habnef3's Content
There have been 3 items by habnef3 (Search limited from 30-March 23)
#248035 Error, '=' expected
Posted by habnef3 on 14 March 2016 - 11:52 PM in Ask a Pro
I am currently trying to make a somewhat advanced program and so far I've been doing okay. That is, until recently I hit a snag. I am getting the error message "bios:14: [string "ekT5pKm0"]:37: '=' expected
The part of the script that is getting the error is
I have the local variables set up, so it's not that. The link to the full script is below.
The part of the script that is getting the error is
print("Refuelling") if 20000 - CurrentFuel >= 5000 then print("Low on fuel. Refilling until at 5000 fuel.") print(CurrentFuel) turtle.refuel else print("All fueled up.")
I have the local variables set up, so it's not that. The link to the full script is below.
Spoiler
#230898 Wireless Turtle Help
Posted by habnef3 on 23 August 2015 - 03:29 AM in Ask a Pro
Hi, I'm having trouble with making programs that let me execute commands wireless from a computer to a turtle.
I have the following program for the computer
and this one is for the turtle.
When ran the main computer seems the be working fine, but the turtle just shows a blank line and then ends.
All help is appreciated.
I have the following program for the computer
Spoiler
rednet.open("right")
term.write("Command: ")
message1=io.read()
rednet.broadcast(message1)
print(command1)
rednet.open("right")
term.write("Command: ")
message1=io.read()
rednet.broadcast(message1)
print(command1)
and this one is for the turtle.
Spoiler
rednet.open("right")
rednet.receive()
shell.run(message1)
print(message1)
rednet.open("right")
rednet.receive()
shell.run(message1)
print(message1)
When ran the main computer seems the be working fine, but the turtle just shows a blank line and then ends.
All help is appreciated.
- ComputerCraft | Programmable Computers for Minecraft
- → habnef3's Content