Run Script Randomly

I at al
I have some script, every script set a different value frequency for an wifi interface
I’d like to run on of the N script, in randomly time es:

random time: script 4
random time: script 3
random time: script 5
random time: script 1

Thank you

You might look at this:
http://forum.mikrotik.com/t/pseudo-random-number-generator-script-mersenne-twister/51962/1

try this may help you :wink:
this random numbers with range of 0 to 9

{
:local NofScripts 10;
:local S [/system clock get time]; 
:local rand [:pick $S ([:len $S]-2) [:len $S]];
:log warning ("random number = " . $rand % $NofScripts) 
#:do { /system script run number=($rand % $NofScripts) }
}