Hello guys I wanted to make a token system but I cannot add a custom number to a variable :/
Here is my code:
(Problem in line 9)
Thanks a lot
Here is my code:
(Problem in line 9)
Code:
command /eco [<text>] [<text>] [<text>]:
trigger:
if player has permission "tokenapi.eco" or "tokenapi.*":
if arg-1 is set:
if arg-2 is set:
if arg-3 is set:
set {_add.%player%} to arg-3
wait a tick
add {_add.%player%} to {tokens.%arg-2%} #Here is my problem
send "{@prefix} &7Dir wurden &e%arg-3% &7Tokens überwiesen."
delete {_add.%player%}
else:
send "Eroor 1"
Thanks a lot