Hello! Im trying to create a comand that gives the player money. But it's saying arg 1 iant a solid number. How can I fix this?
Code:
command / mrbeast <number>:
permission:op
trigger:
if arg 1 is a number:
add %arg-1% to player's balance
send "&C%arg-1%$ &4 coins has been added to your account!" to player
else:
send"&4%arg-1% isn't a solid number. Sorry!"
Last edited: