Please help me with this:
I want to make it so if an Admin types in 5,000 or more it will say "Too much!"
And also...
I want to make it so if an Admin types in a letter instead of a number like /moneyset Name Hello, it will say
"Use numbers, not letters"
Please help me with this because i don't know how to do it
thanks
I want to make it so if an Admin types in 5,000 or more it will say "Too much!"
And also...
I want to make it so if an Admin types in a letter instead of a number like /moneyset Name Hello, it will say
"Use numbers, not letters"
Please help me with this because i don't know how to do it
thanks
code_language.skript:
command /moneyset [<offline player>] [<number>]:
permission: money.set
permission message: &4No Permission!
trigger:
arg 1 is set:
arg 2 is set:
if arg 1 is online:
if arg 1 is player:
send "&4You cant change the amount of rubies YOU have."
stop
difference between {sql_.diff.setrubies::%player%} and now is less than 30 seconds:
send "&4You used this command too many times!"
stop
set {sql_.diff.setrubies::%player%} to now
{@run_async} is "true":
$ thread
set {_message} to addRubies(arg 1, arg 2, 1)
send "&aSuccess!"
else:
send "&4Player Offline!"
else:
send "&6Wrong usage."
else:
send "&6Wrong usage."