How to ignore a "time" condition for quick debugging?


#1

A lot of my pistons have a time condition (e.g. “Time is between noon and sunset”). Sometimes I need to debug a piston and have it run outside of the time condition for testing purposes. For example, many of my pistons only run after sun down, but I want to debug the piston during the day. Is there an easy way to “comment out” or ignore a conditional check? Yes I can edit the piston and manually change the time conditions, but some are a bit elaborate and I’d need to screenshot the settings so I could revert them back after testing. Seems like there should be an easier way.


#2

You could create a debug variable, and then add “or debug=true” to your time condition if statement.