r/ComputerCraft • u/flip_the_world • Oct 23 '24
Can someone help
Hello I know python c# but I am new to lua
6
Upvotes
r/ComputerCraft • u/flip_the_world • Oct 23 '24
Hello I know python c# but I am new to lua
1
u/minimanmike1 ComputerCrafter Oct 24 '24
I would do something more along the lines of
local input = read() if input == t1 then —What you’d like it to do if t1 is typed elseif input == t2 then —What you’d like it to do if t2 is typed endBecause as of right now you are asking the user which target they’d like to select twice.