Commit acce2322 authored by Christian Hesse's avatar Christian Hesse

global-functions: add $RandomDelay

parent f49b67f5
......@@ -258,3 +258,10 @@
}
:return ($Sum % $Max);
}
# delay a random amount of seconds
:global RandomDelay do={
:global GetRandom;
:delay ([ $GetRandom $1 ] . "s");
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment