Trevliga Spel forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Is there a way to add a delay between messages in script?

2 posters

Go down

Is there a way to add a delay between messages in script? Empty Is there a way to add a delay between messages in script?

Post by spookyzoo Sat May 28, 2022 1:42 am

Hi there! GREAT plugin, I love it!

Is there (or could there be) a way to add a delay in ms between messages with scripts?

This way we could use scripts to send NRPNs using 3 separate CCs. However these usually require a short delay between messages, especially if sending multiple NRPNs.

Something like

[(press)

{cc:16,98,21} {delay in ms}
{cc:16,99,0}  {delay in ms}
{cc:16,06,0}  {delay in ms}

]

Is there a way to add a delay between messages in script? W+e4UYA+X3qcgAAAABJRU5ErkJggg==

Thanks for consideration. Have a good weekend!

spookyzoo

Posts : 2
Join date : 2022-05-28

Back to top Go down

Is there a way to add a delay between messages in script? Empty Re: Is there a way to add a delay between messages in script?

Post by Admin Sat May 28, 2022 10:02 am

Hi,

There is a {wait:n} action that you can use to insert a delay between actions.
Admin
Admin
Admin

Posts : 1235
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

spookyzoo likes this post

Back to top Go down

Is there a way to add a delay between messages in script? Empty Re: Is there a way to add a delay between messages in script?

Post by spookyzoo Sun May 29, 2022 10:02 am

Brilliant, thanks!

I just deleted my follow up question as I've found the full list now. Appreciated, cheers!

spookyzoo

Posts : 2
Join date : 2022-05-28

Back to top Go down

Is there a way to add a delay between messages in script? Empty Re: Is there a way to add a delay between messages in script?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum