So basically I want the variable to increase until it reaches a certain number then stop, until then it loops sending the text with the increasing variable inside the string and pressing enter.
How can I go about doing this?
Code: Select all
/give @p leather_helmet 1 0 {display:{color:16646144},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:99999999,Operation:0,UUIDMost:33219,UUIDLeast:246050},{AttributeName:"generic.followRange",Name:"generic.followRange",Amount:99999999,Operation:0,UUIDMost:91172,UUIDLeast:432987},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:99999999,Operation:0,UUIDMost:855,UUIDLeast:502501},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:99999999,Operation:0,UUIDMost:24782,UUIDLeast:359227}]}