Leftyloopy
Hey! I might write it something like this:
#name Mute Sustain Script
#focused
#sustain 500
if mode == :play
Mute
else if mode == :mute
Mute
function OnSustain {
if sustainCount == 1
wait last
Play
Clear}
Give this a shot and loop me in if it works. Short press mutes, and long press clears the pie, while also keeping it in the green. ((you'll still see a Mute quantize flag which might be confusing after the long press, just ignore it))