[RunUO 2.0] Message of the Day
Changelog
After seeing quite a few mediocre, half-complete MOTD scripts, I finally decided to make my own. The MOTD is designed to keep players up to date on shard news. It displays upon player login, as well as when the [MOTD command is used.
Features
Drop the MOTD folder into your custom scripts directory. Open Main.cs:
You can have as many different categories as you would like, as long as you have at least one. After you edit this script to your liking, boot up the shard and log in. The .TXT files should be generated in "Data\MOTD". Directions to add new entries to the MOTD are included inside the .TXT files.
Coming Soon
Code:
/**************************************
*Script Name: Message of the Day *
*Author: Joeku *
*For use with RunUO 2.0 *
*Client Tested with: 6.0.2.0 *
*Version: 1.0 *
*Initial Release: 12/04/07 *
*Revision Date: 12/04/07 *
**************************************/
- Version 1.0 December 4, 2007 - Initial release.
After seeing quite a few mediocre, half-complete MOTD scripts, I finally decided to make my own. The MOTD is designed to keep players up to date on shard news. It displays upon player login, as well as when the [MOTD command is used.
Features
- Easy-to-use GUI.
- Active .TXT file reading (you can edit the MOTD out-of-game, and you don't have to restart the shard to update changes).
- Preference controls (players can choose not to display MOTD upon login).
- Dynamic category/indexing system (you can have as many categories as you would like).
- Easy to add/edit/remove category entries.
- Automatic formatting for category entries.
Drop the MOTD folder into your custom scripts directory. Open Main.cs:
Code:
namespace Joeku.MOTD
{
public class MOTD_Main
{
public const int Version = 100;
public const string ReleaseDate = "December 4, 2007";
public static readonly string FilePath = Path.Combine( Core.BaseDirectory, @"DataMOTD" );
public static MOTD_Info[] Info = new MOTD_Info[]
{
[COLOR="Blue"] new MOTD_Info( "News" ),
new MOTD_Info( "Changelog" )[/COLOR]
};
public static MOTD_HelpInfo[] HelpInfo = new MOTD_HelpInfo[]
{
new MOTD_HelpInfo( "About" ),
new MOTD_HelpInfo( "Preferences" )
};
Coming Soon
- In-game editing tool for entries.
- MOTD main menu after using [MOTD - "News" category.
- MOTD main menu after clicking Next Page button - "Changelog" category.
- MOTD main menu after clicking Next Page button again - "RunIM.Net" category.
- MOTD help menu after clicking Help button - "About" category.
- MOTD help menu after clicking Next Page button - "Preferences" category.