Removeid Confusion

So I’m writing a script that has a little section where the remove ID command is ran.

Here’s the line that’s giving me trouble.

RunConsoleCommand( "removeid", args[1] )

For some reason it echos back with this.

removeid:  invalid ban ID "n"

Even if args[1] is something like my Steam ID it always gives me the above statement.



iirc removeid uses the UserID and not SteamID.

Gave a quick search and I think you’re right. Valve wiki lists the removeid command here and says it “removes a User ID