Evil Soldiers Clan

Guest Forum => Tips / Tricks / Tutorials => Topic started by: Welshy on December 23, 2020, 07:07:07 AM

Title: Name changing
Post by: Welshy on December 23, 2020, 07:07:07 AM
Is there a way of binding a key so you can easily change your name rather than opening the console and typing it there?
Title: Re: Name changing
Post by: Master on December 23, 2020, 09:17:59 AM
bind <KEY> "messagemode name"

Should work for spaces too.
Title: Re: Name changing
Post by: 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:
Title: Re: Name changing
Post by: Master on December 23, 2020, 10:00:15 AM
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?
Title: Re: Name changing
Post by: Welshy on December 23, 2020, 10:04:57 AM
Yes I did.
Title: Re: Name changing
Post by: Master on December 23, 2020, 10:25:23 AM
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.
Title: Re: Name changing
Post by: Welshy on December 23, 2020, 10:30:59 AM
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?
Title: Re: Name changing
Post by: Master on December 23, 2020, 11:21:44 AM
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
Title: Re: Name changing
Post by: pizzahut on December 23, 2020, 11:27:52 AM
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"
Title: Re: Name changing
Post by: Gimpy on December 23, 2020, 11:29:55 AM
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
Title: Re: Name changing
Post by: Welshy on December 23, 2020, 11:46:17 AM
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