Alright so lets begin, without doing X amount of if checks or else checks id like a way to do this.
so incoming like example
this-is-so-an-example
i do this var %f = $numtok($1-,45)
if (%f < 2) { halt }
else { do stuff }
Now obviously I know how to strip $1- into 5 seperate parts due to the - with $xxxtok commands my question is I would like to input it back to the channel seperately interval of 3 seconds a piece. How tod do this?
to my knowledge i would have to make many IF (%f == X) then put that much timers ready for the gettok 3 second interval
is there any other way to do this without making tons of if checks as stated?
basically incoming string is this-is-an-example-for-you
to my input
this
3s
is
3s
an
3s
example
3s
for
3s
you
My other alternative was looking into storing file temporary in a list to x.txt and using /play with a 3s interval
but again im trying for a better way