r/ComputerCraft • u/thewittyrobin • Dec 29 '20
Running turtle programs in lua programing?
In running an if then statement as follows:
If message == "dig" then
Shell.run(excavate x)
End.
A little help?
1
Upvotes
r/ComputerCraft • u/thewittyrobin • Dec 29 '20
In running an if then statement as follows:
If message == "dig" then
Shell.run(excavate x)
End.
A little help?
5
u/fatboychummy Dec 29 '20
Can you reword this to be a bit more coherent?
I'm having trouble understanding what it is you're asking for.
I'm going to attempt to understand it though...
...From a glance I think you're having trouble getting
shell.runto work. You need quotes aroundexcavate, so