News:

Please donate to help keep the servers running!

Main Menu

Name changing

Started by Welshy, December 23, 2020, 07:07:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Welshy

Is there a way of binding a key so you can easily change your name rather than opening the console and typing it there?

Master

bind <KEY> "messagemode name"

Should work for spaces too.

Welshy

Tried that but it just comes up with message mode and doesn't change my name.
:sniffles:

Master

Quote from: Welshy on December 23, 2020, 09:48:48 AM
Tried that but it just comes up with message mode and doesn't change my name.
:sniffles:
did you make sure to include the quotes exactly as I have?

Welshy


Master

Quote from: Welshy on December 23, 2020, 10:04:57 AM
Yes I did.

I thought something was broken, so I had to test it myself.

This works fine for me: bind x "messagemode name"

however I am only one person, it may be time to ask for a second opinion.

Welshy

#6
Just so I'm not being thick as usual.

bind "x" "messagemode welshy"  is that right?

When I hit x my name should change from whatever to welshy.

And should that go into userconfig. config or  both?

Master

wrong, you should be typing bind "x" "messagemode name"

then you press "x" and type the name you want and hit enter, the rest will work as you would want it to. 'name' is the actual word for the very first time ever used like this.

any time you add a bind, it is automatically added into your config.cfg/userconfig.cfg you will only need to change that if you use class configs that overwrite the bind on that key

pizzahut

#8
It you don't need spaces:

bind x "name welshy"

if you need spaces:

bind x "exec name.cfg"

Then in name.cfg put:

name "W e l s h y"

Gimpy

I think he's looking for a bind that changes his name at the press of a button.

like bind k "name Player" works, but I can't figure out how to make it work with the tag -[EVIL]- in the command

Welshy

I am and this works a treat. bind "k" "name -[EVIL]-Welshy"

It's only because I'm lazy.

Thanks for all the help guys