Quick Alias Help

Black_ViperBlack_Viper Join Date: 2003-12-08 Member: 24157Members
<div class="IPBDescription">real fast</div> <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias Quotes Quotes01

alias Quotes01 "say I spent 90% of my money on women and drinks. The rest I wasted!; alias Quotes Quotes02"
alias Quotes02 "say What's another word for thesaurus?; alias Quotes Quotes03"
alias Quotes03 "say Feed Your HEAD!!!!; alias quotes quotes04"
alias Quotes04 "say Man I Feel So Free, Im Going To Stop Wearing Clothes From Now On; alias Quotes Quotes01"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
Whats wrong with this alias, i have my command menu put to
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->"0" "-=Quotes=-" "Quotes"<!--c2--></td></tr></table><div class='postcolor'><!--ec2--> so in game i see
0 Quotes, and when i press it nothin.
Whats wrong?

Comments

  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    edited June 2004
    What exactly are you trying to do? Without <b>binding</b> any keys, you could have 100 lines of aliases, and nothing would ever happen.

    If you want to blurt out a sequence of quotes each time you press a button, this is what you should put in:

    bind <key> <span style='color:red'>Quotes01</span>

    alias <span style='color:red'>Quotes01</span> "say I spent 90% of my money on women and drinks. The rest I wasted!; bind <key> <span style='color:yellow'>Quotes02</span>"
    alias <span style='color:yellow'>Quotes02</span> "say What's another word for thesaurus?; bind <key> <span style='color:green'>Quotes03</span> "
    alias <span style='color:green'>Quotes03</span> "say Feed Your HEAD!!!!; bind <key> <span style='color:blue'>Quotes04</span>"
    alias <span style='color:blue'>Quotes04</span> "say Man I Feel So Free, Im Going To Stop Wearing Clothes From Now On; bind <key> <span style='color:red'>Quotes01</span>"
  • TheMunch8TheMunch8 Join Date: 2004-03-03 Member: 27080Members, Constellation
    all your aliases are great. just bind something to Quotes.
    like
    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1--> bind "0" "Quotes"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    That should work also. The way verthandi was doing it was one way, but you seem to already be doing this way. All you needed to do was bind something to Quotes, and it should work
  • Black_ViperBlack_Viper Join Date: 2003-12-08 Member: 24157Members
    Thats what the command menu is for, in game i press "h" and hit Quotes, it should insert a Quote right?
  • UrdUrd Join Date: 2003-05-25 Member: 16696Members, Constellation
    If you send me the whole commandmenu I can see if there are any errors in it; thats probly the case because all of your aliases are fine.
  • Black_ViperBlack_Viper Join Date: 2003-12-08 Member: 24157Members
    Wasnt as fast as i thought it was going to be, I binded p to Quotes nothin, but heres my autoexec and commandmenu, Its for CS"CZ now but im converting it to NS when it works, NS takes to long to load and stuff.
    <a href='http://www.iownallyourbase.com/hosting/hosting/Quotes.zip' target='_blank'> <!--emo&::marine::--><img src='http://www.unknownworlds.com/forums/html//emoticons/marine.gif' border='0' style='vertical-align:middle' alt='marine.gif' /><!--endemo--> </a><Get the files here to help out.
  • UrdUrd Join Date: 2003-05-25 Member: 16696Members, Constellation
    Ok, that might be the problem. Are you sure it's be execed? Since steam the fiel that is automatically exec is userconfig.cfg not autoexec.cfg, try changeing the name from autoexec to userconfig. Also, this probly wont do anything, but change the last alias in the third line so that both of the Q's are capitolized as they are in the rest of the script.
  • Jabba_The_HuntJabba_The_Hunt Join Date: 2003-01-05 Member: 11850Members
    other problem hl is probably saying the spaces in the sentences as the end of the string and getting confused, u need to make alias for each message and then use the alias command

    alias talk1 say "say some stuff"
    alias talk2 say "say some more stuff"

    alias quote1 "talk1; alias quote quote2"
    alias quote2 "talk2; alias quote quote1"

    alias quote quote1
  • Black_ViperBlack_Viper Join Date: 2003-12-08 Member: 24157Members
    Well i got it to work half way, i binded quotes to key(key=p) and when i press p all i gets the first quote, none of the others come up.
    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias Quotes Quotes01

    alias Quotes01 "say I spent 90% of my money on women and drinks. The rest I wasted!;bind p Quotes02"
    alias Quotes02 "say What's another word for thesaurus?; bind p Quotes03"
    alias Quotes03 "say Feed Your HEAD!!!!; bind p quotes04"
    alias Quotes04 "say Man I Feel So Free, Im Going To Stop Wearing Clothes From Now On; bind p Quotes01"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    edited June 2004
    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias Quotes Quotes01<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    is unneeded. Just use the script I've provided above, and you're done.
Sign In or Register to comment.