command /tokens [<text>]:
trigger:
if arg-1 is "help"
send "&6----- Tokens Help -----" to player
send "&6 /tokens pay <player> <amount> &r Sends a player tokens" to player
send "&6/tokens balance &r sends your token balance" to player
send "&6/tokens balance <player> &rshows other peoples tokens" to player
send "&6/tokens top &r shows the top 10 richest players in tokens" to player
send "&6/tokens shop &rOpens the token shop" to player
if arg-1 is "balance"
send "&6you have %{%players%.tokens}% tokens"
if arg-1 is "shop"
open {_tshopgui} to player
#how do i make this work
1 messages · Page 1 of 1 (latest)
still getting same error
if arg-1 is "help":
what does this mean its saying for all lines after
it means that u need to delete the spaces and make them tabs because for some reasong skript doesnt combine spaces and tabs tg
ive messed around with it like 20 times it dont work
command /tokens [<text>]:
trigger:
if arg 1 is "help":
send "&6----- Tokens Help -----" to player
send "&6 /tokens pay <player> <amount> &r Sends a player tokens" to player
send "&6/tokens balance &r sends your token balance" to player
send "&6/tokens balance <player> &rshows other peoples tokens" to player
send "&6/tokens top &r shows the top 10 richest players in tokens" to player
send "&6/tokens shop &rOpens the token shop" to player
if arg-1 is "balance"
send "&6you have %{%players%.tokens}% tokens"
if arg-1 is "shop"
open {_tshopgui} to player
copy that and paste it over ur original code ^
it should have everything correct