hello, can somebody help me with this? when i try parse as integer it will be <None>
i think this {_cislo}.. i tried debug and before it was 3 without spaces etc. and after it was <None>
code_language.skript:
set {_lore::*} to lore of clicked item split at "||"
loop {_lore::*}:
if {_lore::%loop-index%} contains "Prodejce":
set {_text} to loop-value
replace every "&9Prodejce&f: &e" with "" in {_text}
set {_jmeno} to {_text}
else if {_lore::%loop-index%} contains "Cena":
if {_lore::%loop-index%} contains "Medak":
replace every "&6&lMedak" with "" in {_lore::%loop-index%}
else if {_lore::%loop-index%} contains "Zlatak":
replace every "&e&lZlatak" with "" in {_lore::%loop-index%}
else if {_lore::%loop-index%} contains "Stribrnak":
replace every "&7&lStribrnak" with "" in {_lore::%loop-index%}
replace every "&9Cena&f: &e" with "" in {_lore::%loop-index%}
replace every "x" with "" in {_lore::%loop-index%}
replace every " " with "" in {_lore::%loop-index%}
set {_cislo} to {_lore::%loop-index%} parsed as integer