Looking to make a MC related Send command with variables

Ask gaming related questions (AHK v1.1 and older)
Zenyatta
Posts: 6
Joined: 19 Aug 2018, 23:19

Looking to make a MC related Send command with variables

20 Aug 2018, 01:47

Hello, I'm very new to this, but I've been trying to learn how to do things. I'm trying to make a script for MC commands that sends the string of text to a notepad on a loop, that has variables inside the string that increase, However the text that I am trying to send contains curly brackets so i'm assuming that it's just going to mess with the syntax of everything as you will be able to see in the code below, so I thought that I would use SendRaw, or send, {blind}? The variable is the {color:16646144}". Each time the script does it thing, the variable goes up by 1 or so The rest of the code stays the same basically

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}]}

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 117 guests