hello! im trying to make simple command script in mirc, but i need something to pause it to pass spam protection if some users will ask this command at one time.

i got this for start:
Code:
on *:text:*!db*:#: {
  if (%dblink == 1) {
    <!here i need sleep timer>
  msg # dblink: http://database.com/database/ $+ $2- . ID $rand(0,100000) $+ . | halt }
}
}
how could i make sleep timer (10 sec delay) between command reply? i tried to use this found here
Code:
sleep {
  var %a $+(sleep.,$ticks,.wsf)
  write %a <job id="js"><script language="jscript">WScript.Sleep( $+ $$1 $+ );</script></job>
  .comopen %a WScript.Shell
  if !$comerr { .comclose %a $com(%a,Run,3,bstr,%a,uint,0,bool,true) }
  .remove %a
}
but it pause ALL mirc client ))
thank you for help