Webcore - Check if piston is Paused

I need to check if a piston is paused in a if then statement.

If Piston1a is paused then, else, end

If you hpm repair webcore, the latest has a function

ispistonpaused(nameofpiston)

If you want to give it a try.

2 Likes

Ya just does not seem to work. I will post my piston when i get time

I pushed a fix, try it again

Ok I just repaired and now trying to add back the check, but now I don't remember where it was as I deleted the rule and now I cant find the darn thing, where do I find the ispistonpaused option. (Been a long day)

Got a new piston started, Starting a new if statement, but cant figure out how to do a "if Piston"Front Door Motion" is paused and front door contact changes to open then do nothing else pause"Front Door Motion", wait 2 mins, "Resume Piston "Front Door Motion"

Swear I have checked all "What to compare" options and none list ispistonpaused

Would be great if there was a way to just way pause piston for x time, (Days, hours, mins, seconds, until resumed) and have it auto resume (if timed) without having to do a wait statement in the rule.

ispistonpaused('name') is a function, that you using in an expression

so if(expression) is true
then.....

Guess i am just missing how to set it up then. I will keep trying to figure something out. Thanks

1 Like

could you share with me the piston, or tell me how to find and use ifpistonpaused, I cant seem to find it. Tried for an hour last night

Use import code ucvq if you want to grab a copy or

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.