Make AppleScript delay a random number between x and y?
You can use random number, e.g.:

set timeDelay to random number from 18 to 58
delay timeDelay


Or any integer values you wish.



For more information about random number click the link.  Also have a look at: AppleScript Language Guide