PDA

View Full Version : Bind a name



Fireye
01-24-2010, 03:34 PM
Hey there all knowing ibis. I'm trying to bind a key to reset my player name. Normally, this wouldn't be a problem, but because there are special characters in my name, CS:S adds spaces after them. My bind current looks like:
bind "F8" "name {US}Fireye"

... but because the command executed is name {US}Fireye, it adds spaces between the brackets. I've tried escaping an extra set of quotes around the {US}Fireye, but they don't work. Single quotes don't work either. Does anyone know how I could bind a key to do exactly:
name "{US}Fireye"

DeadEyeDeNNi$
01-24-2010, 10:31 PM
did u try doing it on WORD then copy and paste?

walterbrunswick
01-25-2010, 07:56 PM
Fireye, did you try including escape characters? Such as "\{US\}Fireye"? From my programming experience with ASCII escape codes, I think that might work...

DeadEyeDeNNi$ ... um... :banghead::lmao:

acolyte_to_jippity
01-25-2010, 09:29 PM
yeah, escape chars are probably your best bet

Fireye
01-25-2010, 09:39 PM
Unfortunately, the usual backslash-escape was a no-go. It put a literal backslash in my name.

walterbrunswick
01-26-2010, 12:30 AM
Unfortunately, the usual backslash-escape was a no-go. It put a literal backslash in my name.

Well fuck Valve.

I guess find out what their escape sequence is.

acolyte_to_jippity
01-26-2010, 04:54 PM
i've googled and i can't for the life of me find a way to do it.

walterbrunswick
01-26-2010, 05:41 PM
Neither did I... Why can't you just input your name manually into the name field in "Options," Fireye?

It saves your name properly (without spaces) to cfg/config.cfg with some delimiter characters, of which I don't know the ASCII code.

acolyte_to_jippity
01-26-2010, 06:25 PM
he want's to be able to change ir back on the fly

walterbrunswick
01-26-2010, 08:37 PM
he want's to be able to change ir back on the fly

As Mick Jagger said, you can't always get what you want :violin:

Fireye
01-26-2010, 09:24 PM
Yeah, the grand vision I had was binding F8 and F9 to be
name "{US}Fireye"
name "{US}Fireye <ibis.a>"

That way I could easily pop the tag on and off as needed. I'm pretty sure there's no way to bind it, too bad. Thanks for looking though, guys!