Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. General Discussion
  3. How do I votekick/report name with spaces?

How do I votekick/report name with spaces?

Scheduled Pinned Locked Moved General Discussion
3 Posts 3 Posters 91 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • viper333undefined Offline
    viper333undefined Offline
    viper333
    wrote on last edited by
    #1

    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

    JezuzLizardundefined 1 Reply Last reply
    0
    • Resxtundefined Offline
      Resxtundefined Offline
      Resxt Plutonium Staff
      wrote on last edited by
      #2

      Taken directly from IW4MAdmin's Discord

      For users with spaces in their name enclose in quotes: !report "Player Name" reason

      1 Reply Last reply
      0
      • JezuzLizardundefined Offline
        JezuzLizardundefined Offline
        JezuzLizard Plutonium Staff
        replied to viper333 on last edited by
        #3

        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.

        1 Reply Last reply
        0

        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Donate