Task when motion but if something doesn't happen in 15 seconds

Hi there,

Anyone know how I could get a piston to start a task when motion is detected but only if something else has not happened within 15 seconds after the motion was first detected??