Working For Each loop! Just put it in your backpack. No credit needed. Replace the number/character (#/C) variable with your wanted variable and set the wanted variable to the number/character you want.
Use as needed, no credit needed.