cmdrepeat - RedWirePlatinumTwo/RedWiresMinecraftMod GitHub Wiki
Parameters
[timestorepeat] - The amount of times to repeat the command. Maximum 1,000.
[cmdmessage] - The command to repeat. Using [iterator] within a command string will replace [iterator] with the iteration number for the command loop. (ex: using /cmdrepeat 4 "give @s apple [iterator]" will give you 10 apples since it gives 1,2,3, then 4 apples)
stop - Ends all looping commands (if using 1 tick delay)
Optional Parameters
[shouldtick] - whether or not the command to be repeated should have a 1-tick delay between each repetition. true by default.
Description
Executes [cmdmessage][timestorepeat] times with a 1-tick wait delay.
5.2.0: Increased max command use from 1,200 -> 50,000.
6.0.0: This command can no longer be used to execute sub-commands that players should not have permissions to use (ex: kick, ban). Additionally, tickdelay has been renamed to shouldtick.