maybe try...
/delay $rand(1,10)
or
/delay $rand 1 to 10
I dont thing specifying the delay to 10 first would work because the script is going to process your /delay 10 and pause for 10 sec before moving on to your /delay $rand part.
dont know if any of the above two will work, but its worth a try