This post was similar to your request:
TLDR:
You could store a value that counts up to 150 then have an if command that performs your new command and resets the count.
This post was similar to your request:
TLDR:
You could store a value that counts up to 150 then have an if command that performs your new command and resets the count.