151 posts
Location
Earth
Posted 05 August 2013 - 05:03 PM
One Of My Random Program's.
--[[ Mob Grinder ]]--
--[[ Functions ]]--
function attack()
turtle.attack()
end
end
--[[ Code ]]--
while true do
attack()
end
1583 posts
Location
Germany
Posted 05 August 2013 - 05:20 PM
It would crash with eof on line 6
151 posts
Location
Earth
Posted 05 August 2013 - 05:54 PM
Try Adding more [end] to the next line if it says: EOF Expected line 6
If Not Then Try Removing The Only [end] I Highly Doubt It Will Work Though
1688 posts
Location
'MURICA
Posted 05 August 2013 - 05:56 PM
This one line of code does the exact same thing:
while 1 do turtle.attack() end
1 posts
Posted 06 August 2013 - 12:55 AM
Just delete one of the 'end' below turtle.attack() ;)/>