Thanks for all of your help, unfortunately I can't get it to work the way I think it should. I do have experience with pattern matching, programming and some Tasker use just to put that out there. Etiher I am setting it up wrong, or I didn't properly explain what I want to do.
What I'm attempting to do is to have a shorter display timeout using Tasker's wait action and an external app call Screen Off. I would also like to be able to have that timer reset every time I touch the screen just like the system display timeout.
When you load the app all it does is turn the screen off. I know the app works with my device and with Tasker because I use it in another Tasker task that works flawlessly.
I have set up a task named "Touched" that uses the Secure Settings Plugin to run command
getevent -c 1 /dev/input/event2
Next I have a profile with an orientation face up context the task section is as follows
Perform Task named Touched
Wait 3 seconds
If %TRUN~*,Touched,*
Load App app Screen Off If %FACEUP(the variable I set when orientation if face up)~yes
End If
When I lay my phone face up the countdown starts and when it's over the screen goes off, however, it always goes off. No matter how many times I tap the screen the task still finishes. The only way it stops is if I change the orientation of the phone. Could anyone help out with this?