This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Nailroth's profile picture

turtle Program to get fuel level

Started by Nailroth, 31 December 2012 - 01:48 AM
Nailroth #1
Posted 31 December 2012 - 02:48 AM
Hey, i need some assistant making a program to show fuel level of the turtle i have no clue how to do lua coding so i just type crap and see what happen, I'm going to get in depth with turtles sometimes but now i'm just trying all the basic stuff you can do.

I only know one line that needs to be in the program, turtle.getFuelLevel() more then this line i have no clue of
remiX #2
Posted 31 December 2012 - 02:51 AM
print(turtle.getFuelLevel())
lol

… and there is a program already, type 'refuel' in the terminal
Nailroth #3
Posted 31 December 2012 - 03:28 AM
Ok thanks