Topic category: User side tutorials
A while ago, I made a post asking if you could include a wait time in the "repeat [number] times" block.. well, it turns out you *CAN* do a wait time for this... and the solution was actually quite simple. I kinda feel dumb for not thinking of this before.
Make sure you have the iterator variable outside of the "wait [number] ticks" code block because obviously, local variables do not work in it. Also, make the iterator addition block the last thing that happens in a repeat block, so the first iteration happens instantly.
For example, this is for my /cmdrepeat command, so currently typing "/cmdrepeat 30 summon sheep" would summon 30 sheep within 1.5 seconds.