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"
COMMUNITY QUESTION
how can i remove args 1 then join the rest of the args?
1 answer
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")
This discussion is preserved as it was. New answers, comments, and votes are closed.
