I was reading the MacroDroid Wiki and I ran across Action Blocks. Just when I was thinking of how I was going to implement functions in MacroDroid, apparently they already have a way of doing it. For the life of me, I cannot find the panel or home screen for this, or how to create action blocks...