Connecting to Servers, aliases, and you

tl;dr: I am very long winded, and wish to do a great deal of explaining about aliases and what they are, so if you don't care, just skip to a bottom, I will just show what aliases you need to connect to our servers and how to use them

Hello everybody! I was subbing for a game last night and we had some people asking about the server info. There are multiple ways to connect to our many servers, such as having them all in favorites and memorizing all of the passwords (gets messed up by bad memories and nondescriptive server descriptions), asking someone for the info (not the most efficient way), going on r/reddittf2league and copy pasting the info yourself (takes time, and annoying if alt+tab sucks), or of course aliases.

Aliases are a part of source scripting. They are essentially one word you cause to mean a whole line of words, similar to when you change someone's autocorrect on their phone to change "lol" to "I don't actually think that was funny but I'll go along with it". This is very useful in tf2 as you can have one little command that does a multiple things, like crouch jump, or call a fake uber, while telling your team that was a fake call. This is very helpful in connecting to servers because although the connect string is only 2 commands, it has a lot of information to memorize.

This is the actual aliases and how to use them Making the alias is very simple you just put

alias "critfail" "connect 216.52.143.142:27065; password nabisco";

in your autoexec.cfg. (if you don't know what that is keep reading) Then to connect to the critfail server, you just open up the console and type critfail. POOF! its that easy. The rest of them are just as simple, just come up with a name for the alias that you will associate with that server.

For those of you who do know know what autoexec.cfg is in your Steam\steamapps\yourusername\team fortress 2\tf\cfg directory there should be a autoexec.cfg. If not create a new text document, put the aliases you want in there, and save as autoexec.cfg making sure to change the bar under from text files to all files.

If you have any questions feel free to ask me on steam or here. If you want more in depth information about scripting, configs and stuff you can ask me, and I would be happy to help but I am sure the collective minds of r/Tf2Scripts would be much more knowledgeable and have much more time than me. I have to credit this idea to I believe Confucius for asking about the possibility of this, and CCGC002 for the not stupid implementation that you see here today.

Posted Oct 17, 2012, 3:01 PM UTC

41
MushroomkittehINS3RT•

Also I'm fairly competent in scripts myself, and so is dog ears. You can ask anyone of us if you have any questions!

3