Posted 07 January 2013 - 01:45 AM
Hi guy's i have just started programming whit computercraft and i have a problem with one of the programs that i'm making.
I want a turtle to check it's fuel level and if it's too low refuel herself with somethink in it's inventory.
Now the problem is that i don't know how to make the program make a variable out of the numeric response of the turtle.getFuelLevel() command, or in general whatever i want it to read that is not user imput.
Thanks in advance for the answers.
Edit: I've just realized that i may be in the wrong section, sorry if that is the case.
I want a turtle to check it's fuel level and if it's too low refuel herself with somethink in it's inventory.
Now the problem is that i don't know how to make the program make a variable out of the numeric response of the turtle.getFuelLevel() command, or in general whatever i want it to read that is not user imput.
Thanks in advance for the answers.
Edit: I've just realized that i may be in the wrong section, sorry if that is the case.