#Put many %% in quotes

1 messages · Page 1 of 1 (latest)

solemn scroll
#

well im not that good at skript so i dont know how to fix. the script is supposed to give money to the player and then set money to 0

command /ekologiskmjolk:
trigger:
execute console command "/eco give %{%player%.p}% %{%player%.money}%"
set {%player%.money} to 0

#

and this

#

command /ekologiskmjolk:
trigger:
execute console command "/eco give %{%player%.p}% %{%player%.money}%"
set {%player%.money} to 0

thorny ibex
#

Instead if console commands why not just set/add to their balance

#

add x to player's balance

thorny ibex
#

Also, use list vars instead of .

#

{money::%player's uuid%} vs {%player%.money}