FOnline Development > Share Your Work

PIPBOY2000 TERMINAL INTERFACE

(1/1)

adumbperson:
I thought it would be fun to have an help command describing stuffs...

from client_main.fos

--- Code: ---bool out_message( string& message, int& sayType )
{

    // Log("sayType:"+sayType+" - message:"+message);

    if( message[ 0 ] == "~" ) {
        string@[]@ words = splitEx(message, " ");

        if( message == "~help" ) {
            Message( "PipBoy2000 UNIFIED OPERATING SYSTEM.\n"+
            " COPYRIGHT 1995-2000 ROBCO INDUSTRIES.\n"+
            "             -TERMINAL INTERFACE-\n"+
            "_________________________________\n"+
            " legend: |"+COLOR_WHITE+" command|"+COLOR_TEXT+"  : description\n"+
            "_________________________________\n"+

            "|"+COLOR_WHITE+" \t~names|"+COLOR_TEXT+"  : reload name colorizer.\n"+
            "|"+COLOR_WHITE+" \t~ignorelist|"+COLOR_TEXT+"  : reload ignore list.\n"+
            "_________________________________\n" );
            return false;
        }
        // ..........

--- End code ---

or this way

from FOTEXT.MSG

--- Code: ---{70070}{}{________________________________
 PipBoy2000 UNIFIED OPERATING SYSTEM.
 COPYRIGHT 1995-2000 ROBCO INDUSTRIES.
              -TERMLINK INTERFACE-
 ________________________________
 legend:
     |0xFFFFFF ~command|0x3CF800  : description
 ________________________________
     |0xFFFFFF ~names|0x3CF800  : reload name colorizer.
     |0xFFFFFF ~ignorelist|0x3CF800  : reload ignore list.
 ________________________________}
--- End code ---

from client_main.fos

--- Code: ---bool out_message( string& message, int& sayType )
{

    // Log("sayType:"+sayType+" - message:"+message);

    if( message[ 0 ] == "~" ) {
        string@[]@ words = splitEx(message, " ");

        if( message == "~help" ) {
            Message( GetMsgStr(TEXTMSG_TEXT, 70070) );
            return false;
        }
        // ..........

--- End code ---


Navigation

[0] Message Index

Go to full version