I have no idea why Wims used scid and $cid in his code.
Here's my suggestion, based on my understanding of what you're asking for
var %a = this-is-so-an-example
var %b = 1, %c = $numtok(%a,45)
while %b <= %c {
.timer 1 $calc(%b * 3) .msg #channel $gettok(%a,%b,45)
inc %b
}
Note that the display doesn't start until 3 seconds after the code is initiated.