hi.
Try something like this...
alias test {
set %i $1
if ( %i <= 3 ) {
goto WriteMessage
}
else {
goto EndWriteMessage
}
:WriteMessage
echo -s Message Nrº %i
set %i $calc( %i + 1)
timerNextMsg 1 5 test %i
halt
:EndWriteMessage
echo -s End Message
halt
}
try to understand the code to build one your self... I think it´s easy to understand it...
good luck