1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

History Command 1.0.1

Player command to open an auto-refreshed gump with the history of what they've said and heard.

  1. Felladrin
    History Command

    Player command to open a gump with the history of what they've said and heard from other players.

    If you ever needed to read the journal, but couldn't understand anything because of the awful speech hue they've chosen, this script is for you!

    [​IMG] [​IMG]

    It's based on the SpeechLog component and requires it to be enabled (Note: it comes enabled by default).

    The gump auto refreshes whenever someone says something. The auto refresh is turned off when the player start browsing the history, so they have to call the command again to re-enable the auto refresh.

    Players names are auto-colored by default, to make it easy to identify who's speaking.

    You can easily configure the script on the top of the file:
    Code (C#):
    1. bool Enabled = true;               // Is this command enabled?
    2. bool AutoRefreshEnabled = true;    // Is the auto refresh enabled?
    3. bool AutoColoredNames = true;      // Should we auto color the players names?
    4. bool OpenGumpOnLogin = true;       // Should we display the gump when player logs in?
    5. int MaxMessagesPerPage = 19;       // How many messages should we display per page?
    Installation

    1 - Drop the script anywhere inside your Scripts folder
    2 - Open PlayerMobile.cs
    3 - Find the line:
    Code (C#):
    1. m_SpeechLog.Add(e.Mobile, e.Speech);
    4 - Bellow that line, add the following line (responsible for auto-refreshing the gump):
    Code (C#):
    1. Felladrin.Commands.History.Refresh(this);

    Hope you like it. Ideas and suggestions are always welcome!

    Felladrin
    zerodowned likes this.

Recent Reviews

  1. jingz2k2
    jingz2k2
    5/5,
    Version: 1.0.1
    Gonna install. Thank you Felladrin!