#(Niklas) count down
21 messages · Page 1 of 1 (latest)
(Niklas) count down
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
... util.int is not a thing
i know that thats why i am asking what tag i need
if you want to make the number customizable, you could probably use a foreach loop
subtract the loop number from the starting number within it
!c foreach
queue
foreach [stop/next/<object>|...] (as:<name>) (key:<name>) [<commands>]
Loops through a ListTag, running a set of commands for each item.
Loops through a ListTag of any type. For each item in the ListTag, the specified commands will be ran for that list entry.
Alternately, specify a map tag to loop over the set of key/value pairs in the map, where the key will be <[key]> and the value will be <[value]>.
Specify "key:<name>" to set the key definition name (if unset, will be "key").
Specify "as:<name>" to set the value definition name (if unset, will be "value").
Use "as:__player" to change the queue's player link, or "as:__npc" t...
how do i use it
queue
repeat [stop/next/<amount>] (from:<#>) (as:<name>) [<commands>]
Runs a series of braced commands several times.
Loops through a series of braced commands a specified number of times.
To get the number of loops so far, you can use <[value]>.
Optionally, specify "as:<name>" to change the definition name to something other than "value".
Optionally, to specify a starting index, use "from:<#>". Note that the "amount" input is how many loops will happen, not an end index.
The default "from" index is "1". Note that the value you give to "from" will be the value of the first loop.
To stop a repeat loop, do - repeat stop
To jump immediately to the next number in the loop, do - repeat next
you can use the <[value]> tag to get the current loop number
just subtract that from the starting number, add one, and you'll get the new value
i have now added this to an inventory command but it sets me the items also in foot and leggings
Content of Denizen Script Paste #134518: Unnamed Denizen Script Paste... pasted 2025/07/01 16:06:26 UTC-07:00, Paste length: 724 characters across 22 lines, Content: krummer_rucken_inv: type: item material: barrier display name: <&6>
newer mind i am just too dump to count xD