I think I may have done multitasking (You might have already done this, admins). It is meant to display one dialog, say “Hello.” and then display another dialog. It doesn’t work much, but try and help:
set numb to 10
set thetime to (time of (current date)) + numb + 1
ignoring application responses
tell application "Finder" to tell me to display dialog "I do appear." buttons {"OK"} default button 1 giving up after numb
end ignoring
(*Your commands start here*)
say "Hello."
(*Your commands end here*)
delay (thetime - (time of (current date)))
display dialog "YAY."