So basicily when i go ingame and try to send some tokens to a friend of mine and i have enough balance it still says i don't... Anyone got a solution?
In game:
code_language.skript:
if arg-1 is "send":
if arg-2 is set:
if arg-3 is set:
if (arg-3 parsed as num) is set:
if {token.balance.%uuid of player%} is greater than arg-3:
message "{@prefix} {@token_send}" to player
message "{@prefix} {@token_sendreceived}" to arg-2
set {presend.%player%} to arg-3
set {send.amount.%player%} to {presend.%player%} parsed as integer
wait 5 ticks
remove {send.amount.%player%} from {token.balance.%uuid of player%}
add {send.amount.%player%} to {token.balance.%uuid of arg-2%}
wait 5 ticks
delete {send.amount.%player%}
stop
else:
message "{@prefix} {@token_insufficient_amount}" to player
stop
else:
message "{@prefix} {@token_onlyusenumbers}"
stop
else:
message "{@prefix} {@token_send_usage}"
stop
if arg-2 is not set:
message "{@prefix} {@token_send_usage}"
stop
stop