#Afk Rewards
1 messages · Page 1 of 1 (latest)
you can try debugging
also, [<>] is an optional argument, and <> is manual. this can be used instead of arg-x is set, which is another line and indent
there's also no need to check arg-2 is a number, as in the command line you already say the argument must be a number
omg i said manual not mandatory
also, look at the repition here.
you can just use %arg-1%;
set {afkrewards::%arg-1%::%player's tool%} to arg-2
...```