Author Topic: How do I create a random delay between commands?  (Read 4584 times)

woolfoma

  • Guest
How do I create a random delay between commands?
« on: January 19, 2017, 10:39:40 PM »
Sorry if this is a noob question but I need a randomized delay within parameters for a command, is that possible?

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: How do I create a random delay between commands?
« Reply #1 on: January 19, 2017, 10:54:19 PM »
You can randomize the length of a Pause action by first randomizing a decimal variable and then use that decimal variable in a variable pause.

This will pause between one and five seconds:

Set decimal [myDecimalVariable] value as random from 1 to 5      <--- Other>Advanced>Set a decimal value>Random value
Pause a variable number of seconds [myDecimalVariable]  <--- Pause>Variable pause


Hope that helps!