In my program there is a need to do a delay.
There are few subs that need the delay like:

Code:
Sub Kick(Index as integer)
  send index, "You prepare to kick"
  'Here supposed to be a SmartDelay of 3 seconds
  send index, "You kick him"
End Sub

Sub Punch(Index as integer)
  send index, "You prepare to punch"
  'Here supposed to be a SmartDelay of 5 seconds
  send index, "You punch him"
End Sub
I need the code to delay in that places.
It is important that the code won't stop because of the delay (No do-loop with doevents delays).

What should I do?