Hello!
Thanks to the guys from IRC I managed to make a script which asks for password. If the password is right, it sends a redstone signal for 3 seconds. If it's wrong, it asks again. Now I want the script to be protected against using Ctrl+C to terminate it. This is what we managed to do:
<old, broken code was here>
After trying to implement the "anti terminating thingy", this script is not working as fully expected.
1. When I enter a wrong password, it says "Invalid!" and terminates itself. I would like it to ask again instead.
2. When I enter a correct password, it says "Valid!