M1 and m2 pull timer

I’m trying to make a macro that will initiate a dbm pull timer with left click and will cancel it with right click.

I’ve tried /p /pull 10[btn:1]; /p /pull 0[btn:2] but it only outputs text into the frame and doesn’t start a pull timer.

The short answer: The macro should say /pull 10 rather than /p /pull 10.

Longer answer…

/dbm pull 0
/stopmacro [btn:2]
/dbm pull 10

This always resets (silences) any existing timers. If the right button was used, execution stops on the second line. Otherwise, a new ten-second timer is created.