How do I votekick/report name with spaces?
-
Title, as dumb as it sounds how TF am I supposed to include a player's name in a report with spaces. Commands are mostly in format of "!report <name> <reason>" and the fields are separated by spaces, so names with spaces are basically not enterable. I was wondering if there was a special character. Double quoting definitely does not work
-
Taken directly from IW4MAdmin's Discord
For users with spaces in their name enclose in quotes: !report "Player Name" reason
-
viper333 Unfortunately since Plutonium doesn't implement an official report command it is up to each server owner to implement the command. This means not every implementation works the same way or can handle the same edge cases.
As for possible implementations that could work.
Double quotes and single quotes won't work because you can put those in your name. Square brackets also won't work because those are also possible to put in a name. Parentheses or curly braces surrounding the name could work. Alternatively an implementation could accept a client number instead of just a name but you'd need some way of getting the client number for a specific client to use this.