variables: {c.%player%} = 0 options: tag: &6&l[&e&lCoins&6&l] function removeCoins(p: player, n: number): if {_n} > {c.%{_p}%}: set {c.%{_p}%} to 0 stop set {c.%{_p}%} to {c.%{_p}%} - {_n} function addCoins(p: player, n: number): set {c.%{_p}%} to {c.%{_p}%} + {_n} command /c []: aliases: c, coins, cursedcoins, coin trigger: if arg 1 is not set: send "&a/c pomoc" send "&a/c sklep" send "&a/c stan" if arg 1 is "pomoc": send "&a/c pomoc" send "&a/c sklep" send "&a/c stan" if arg 1 is "stan": send "&aTwoje Monety Premium: &e %{c.%player%}% "