Hey there,
so, i want to get the integer from line 2 of the lore of a specific slot (slot 11 in this case), how would you do this? I tried a lot, like using skript-mirror
but this returned a space.
I tried
and with current inventory iso inventory.
but they returned spaces also
I want to get the integer from
this line (line 2 of lore)
anyone know how to do this?
[doublepost=1534254071,1534241632][/doublepost]oof bumperino
so, i want to get the integer from line 2 of the lore of a specific slot (slot 11 in this case), how would you do this? I tried a lot, like using skript-mirror
code_language.skript:
set {_e} to player.getInventory().getItem(11)
I tried
code_language.skript:
set {_b::*} to lore of slot 11 of player split at ":"
set {_b} to 1st element of {_b::*}
and
set {_epath::*} to uncolored line 2 of lore of slot 11 of player's inventory
set {_path::1} to first element of {_epath::1} split at " "
but they returned spaces also
I want to get the integer from
code_language.skript:
Price: 600 coins
anyone know how to do this?
[doublepost=1534254071,1534241632][/doublepost]oof bumperino