Turtle Activated with Redstone HELP!!!

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Evilshallwin

New Member
Jul 29, 2019
60
0
0
Your program checks only once if a redstone signal is applied and if it is, runs until the redstone signal is turned off. As soon as there is no redstone signal your while loop ends and your program is complete.

Do this instead:

Code:
while true do
    if redstone.getInput("right") == true do
          <procedure code here>
    end
end

This will constantly repeat the loop and each time it checks if the redstone input is still on. If not it will continue looping and keep checking.