I would recommend splitting this into two separate procs, calling the second one from the first using utimer. Any proc that "blocks" (delays) will block your whole eggdrop, preventing it from taking any further actions until your proc completes.
Keeping that in mind, you could use the after command to simply hold your script for a specified amount of time. I would still strongly advice against this in favour of using timers.