I have an extremely simple piece of code, lifted mostly from the mIRC help file:

Code:
var %i = 1
while (%i <= 3) {
msg #mychannel This is line %i / 3
inc %i
}


As it stands when that runs it quickly sends three lines to the channel. Are there any special commands I could add to it so that it sends the message, then waits, say 5 seconds, before continuing the loop as normal.

As it is all three lines of text are send in a split second because the loop obviously completes itself quickly. I just need it to send the message, wait a bit, then continue processing the loop as normal and sending the next message and so on.

I have read about /halt, /break, /continue, and /return commands but the help file isn't that useful.

Thank you.