Author Topic: PIPBOY2000 TERMINAL INTERFACE  (Read 3835 times)

Offline adumbperson

  • Turn around in orbit!
PIPBOY2000 TERMINAL INTERFACE
« on: May 28, 2019, 05:58:58 am »
I thought it would be fun to have an help command describing stuffs...

from client_main.fos
Code: [Select]
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;
        }
        // ..........

or this way

from FOTEXT.MSG
Code: [Select]
{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.
 ________________________________}

from client_main.fos
Code: [Select]
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;
        }
        // ..........


« Last Edit: June 08, 2019, 10:40:40 am by adumbperson »
The Death After Life.
About me. I hate people generally I still may have respectful talk and recognize the good persons. Careful to what you say, I'm not a kid. My experiences defines me.
[Awaxx] -2024/10/17-