UPPER and lower case name


(Sippenhaft) #1

Heres what I want to do:
I want to bind 2 different screennames to two different keys.
When I maually put it in the cfg file bind x name"Sippenhaft" and bind z name"NOTsippenhaft" the binds work fine. HOWEVER it is always in lowercase letters??!!??
Even when typeing into the console the letters are in lower case.

When I put my name in through the limbomenu or using All Seeing Eye, it appears in caps, but the minute I press a bind, the name goes to lower case. :banghead:

What can I do to keep those letters I want uppercase stay that way??


(Rain) #2

For some reason, ET makes all the characters in a bind lowercase. There are a couple of ways you can work around that:

  • [li]vstr[list:3d22d40399][]seta¹ namea “name Sippenhaft”[]seta nameb “name NOTsippenhaft”[]bind x vstr namea[]bind z vstr nameb

[/li]¹ The ‘a’ in seta is for ‘archive’–i.e. it’ll be saved in your configuration file. This is probably the easiest way to keep the variable around, although it may be preferable to edit the autoexec.cfg file and use ‘set’ instead. There is no way to remove the ‘archive’ flag from a cvar, so you’d have to edit the configuration file manually if you wanted to get rid of the cvar later. You can change it as you wish, though, so you may not consider this a problem.

  • exec[list:3d22d40399][]Create namea.cfg with a single line: name “Sippenhaft”[]bind x exec namea.cfg[*]Repeat for NOTsippenhaft (but with a different filename, of course)

(Sippenhaft) #3

:banana: :clap: :drink: :smiley:

YOU ARE THE BEST!!!

I was also able to make a cfg file for a phrase I like to use and it too appears in UPPERCASE letters!!

THANKS SO MUCH
WUNDERBAR!

Steve