help with translating piece of MaxMSP code into single Jstrigger

Tiago Morgado's icon

Hi everyone

can you please help me on how to translate the following piece of code into a single jstrigger object? thanks in advance.

Max Patch
Copy patch and select New From Clipboard in Max.

Tiago Morais Morgado