This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Is there a way I can use $multiargs without the first $arg1 argument?
Essentially, I'm trying to create a /fakesay command that says something in chat as a fake player. The format for the command is /fakesay <username> <message>, and the output in chat is <username> <message> but obviously the message portion has spaces in it, so I have to use $multiargs for that. Since $multiargs prints ALL of the arguments, is there a way I can print $multiargs without having it print $arg1 (resulting in $arg1 being printed twice)?
If I were you, I'd make a separate command that sets your fake username as a playerdata variable, then use that playerdata variable in your /fakesay command.
To post a comment, please login or register a new account.