it does what it does (saying "i am a boy" and throwing a grenade) and then CHANGES currentsex to girlĢnd time: currentsex executes. its initial valu is boy, so boy executes. pay attention: (Pressing a)ġ time: currentsex executes. And now you ask, "since i can do this with a bind, why do i need the alias?"ġ) Because you can have certain aliases and change the key you use themĢ) You can set an alias using an alias, and that make trixorz! eg:Īlias boy "say I am a boy +gren1 alias currentsex girl"Īlias girl "say I am a girl kill alias currentsex boy" It needs to be reffered with its name somewhere to be used) (Note: when you type alias blah blah it is NOT executed, just declared. Now, if you bind a key to say_first_two_numbers the alias commands wil be executed, causing you to say 1 first, and 2 afterwards None need quotes, but the bind needs.Īlias "say_first_two_numbers" "say 1 say 2" Mine: "saveme say_team Medic(or engineer) help!"Įach time i press z, except from the yell, i also inform my team that i need healing. eg, check my medic! bind:ĭefault: bind z saveme (saveme=command for shouting medic) In binds, you can use the to indicate many commands. You can't nest quotes, which is bad (you'll see later) Not only you dont need, but actually you need no to use quotes again it is an error. I dont think you can use %'s here, and even if you could, it would cause mess.īind i "say Thank you". but if you want to bind saying thanks to the key i, you have to use If you would like to say thanks, you could type in consoleĪnd it would be over. Name "berry%of%justice" : doesnt work, your name will be set toĮxactly the same things apply for say and say_team messagesīinds are a bit different. Name berry of justice : doesnt work, your name will be set to only berry Name "somenamehere": sets your name to somenamehereġ) the "" are only needed if there is a space in the phrase/name.Īlternatively, you can use % to declare a space without using quotes. Bind a kill :You will suicide if you press the a key
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |