Echoing On Screen

CrimsonCrimson Join Date: 2005-03-05 Member: 43372Members
How exactly do you echo stuff onto the screen? i am making my own upgrade(rine/alien) scripts, using a little bit of guidence from the other topic about rine/alien upgrade scripts. Anyway, i have this:

<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->alias "Resupply" "impulse 31; developer 1; motdfile echo.txt; motd_write :: Resupply_Selected ::; developer 0"
alias "Armor1" "impulse 20; developer 1; motdfile echo.txt; motd_write :: Armor_1_Selected ::; developer 0"
alias "Armor2" "impulse 21; developer 1; motdfile echo.txt; motd_write :: Armor_2_Selected ::; developer 0"
alias "Weapons1" "impulse 23; developer 1; motdfile echo.txt; motd_write :: Weapons_1_Selected ::; developer 0"
alias "Weapons2" "impulse 24; developer 1; motdfile echo.txt; motd_write :: Weapons_2_Selected ::; developer 0"
alias "Weapons3" "impulse 25; developer 1; motdfile echo.txt; motd_write :: Weapons_3_Selected ::; developer 0"
alias "Jetpack" "impulse 39; developer 1; motdfile echo.txt; motd_write :: Jetpack_Selected ::; developer 0"
alias "Shotgun" "impulse 64; developer 1; motdfile echo.txt; motd_write :: Shotgun_Selected ::; developer 0"
alias "HMG" "impulse 65; developer 1; motdfile echo.txt; motd_write :: HMG_Selected ::; developer 0"

bind "kp_end" "Resupply"
bind "kp_downarrow" "Armor1"
bind "kp_pgdn" "Weapons1"
bind "kp_leftarrow" "Shotgun"
bind "kp_5" "Armor2"
bind "kp_rightarrow" "Jetpack"
bind "kp_home" "Weapons2"
bind "kp_uparrow" "Weapons3"
bind "kp_pgup" "HMG"<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
it all works fine, but how do i get it so it says for example Resupply_Selected instead of just Done. in the top right? is that possible? if so, please tell me how.

Thx for any future help

Comments

  • DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
    edited July 2005
    You need to add the MOTD command (right after the motd_write command) so it reads like this:

    <!--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 "Resupply" "impulse 31; developer 1; motdfile echo.txt; motd_write :: Resupply_Selected ::; MOTD; developer 0"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
  • CrimsonCrimson Join Date: 2005-03-05 Member: 43372Members
    ok, thx, thats all i needed <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
  • 2_of_Eight2_of_Eight Join Date: 2003-08-20 Member: 20016Members
    You don't need all those "motd_file echo.txt". Have one at the beginning of autoexec.cfg, that's it.
Sign In or Register to comment.