I have an error/bug with loop:
My code:
Bug:
The gui works perfectly, but when i select a suffix, i select the last loop-value and i don't know why
I use skript 2.2-dev25
And spigot 1.8
My code:
code_language.skript:
loop {sufijos::*}:
if {_n} is 17 or 26 or 35:
add 2 to {_n}
format slot {_n} of player with {_item} named "%coloured loop-value%" with lore "&7Click izquierdo para seleccionar el tag:|| &8[&8%coloured loop-value%&8]" to close then run [execute player command "suffix %coloured loop-value%"]
add 1 to {_n}
The gui works perfectly, but when i select a suffix, i select the last loop-value and i don't know why
I use skript 2.2-dev25
And spigot 1.8