PDA

View Full Version : What's wrong about that?


Johnny_Maxwell
11-21-2007, 09:36 AM
I wanna change my name color and my clantag via a binding in the cfg.That's what I wrote into my autoexec.cfg

bind "j" "set ui_name "^1x^2xx";wait;set ui_clanTag "yyy"" "SHIFT" "default"
bind "j" "set ui_name "^6x^4xx";wait;set ui_clanTag "bbb"" "CTRL" "default"

What's wrong about that? It doesn't work.

Thanks for the help.

xhan
11-21-2007, 10:42 AM
Not sure if "s work like actual brackets - maybe he thinks "set ui_name " is the whole command?

Leveller
11-21-2007, 11:45 AM
I wanna change my name color and my clantag via a binding in the cfg.That's what I wrote into my autoexec.cfg

bind "j" "set ui_name "^1x^2xx";wait;set ui_clanTag "yyy"" "SHIFT" "default"
bind "j" "set ui_name "^6x^4xx";wait;set ui_clanTag "bbb"" "CTRL" "default"

What's wrong about that? It doesn't work.

Thanks for the help.

try it like this, should work better

bind "j" "seta ui_name '^1x^2xx'; wait 50; seta ui_clanTag 'yyy'" "SHIFT" "default"
bind "j" "seta ui_name '^6x^4xx'; wait 50; seta ui_clanTag 'bbb'" "CTRL" "default"

though i dont know if its posible to change name when playing online.

Johnny_Maxwell
11-21-2007, 12:20 PM
try it like this, should work better



Great.. it works.. thanks.

Boumy
11-21-2007, 04:44 PM
I wanna change my name color and my clantag via a binding in the cfg.That's what I wrote into my autoexec.cfg

bind "j" "set ui_name "^1x^2xx";wait;set ui_clanTag "yyy"" "SHIFT" "default"
bind "j" "set ui_name "^6x^4xx";wait;set ui_clanTag "bbb"" "CTRL" "default"

What's wrong about that? It doesn't work.

Thanks for the help.

Why use "wait 50" ?
And maybe, it's better to use a "set" like this :

set name1 "ui_name '^pB^1o^pum^3y'; ui_clantag ''; bind N $name2 CTRL"
set name2 "ui_name '^pBoumy'; ui_clantag '^6<3'; bind N $name3 CTRL"
set name3 "ui_name '^7B^5o^7u^5m^7y'; ui_clantag '^5F^7L^5`s.'; bind N $name1 CTRL"
bind "N" $name1 "CTRL"

You just have to press the same key to change name.