Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how can i remove args 1 then join the rest of the args?

Asked by 4 years ago

so, im making a command where u can do kick player reason, i want it to print the reason of what they put in the chat. if i did args[2] it would just print one word from the reason. say if i run the command kick bob this is a test then i want it to print "this is a test" not just "this"

1 answer

Log in to vote
0
Answered by
Farsalis 369 Moderation Voter
4 years ago

What your asking is very convoluted. If you could, be more specific. Anyways, depends How Your Passing. I Would recommend, "key : value", passing. e.g.("test" : "reason to be pass")

Ad

Answer this question