@ButNotaBot Use a switch. Like this...
switch (random(1, 100)) {
case 1 : sleep(random(20000,50000));
break;
case 2 : sleep(random(60000, 150000));
break;
case 3 : sleep(random(150000, 500000));
break;
default: sleep(random(1000, 5000));
break;
}
Also do you know some Java? If not learn that before doing some scripting. After that just read the API https://osbot.org/api/