private void Help() { NewGump(); string str = ""; switch (c_Page) { case Page.General: str = s_GeneralHelp + (Owner.AccessLevel != AccessLevel.Player ? "<BR><BR>" + s_StaffGeneral : ""); break; case Page.Pm: str = s_PmHelp + (Owner.AccessLevel != AccessLevel.Player ? "<BR><BR>" + s_StaffPm : ""); break; case Page.System: str = s_SystemHelp; break; case Page.Filter: str = s_FilterHelp; break; case Page.IRC: str = s_IrcHelp; break; } InfoGump.SendTo(Owner, 300, 300, HTML.White + str, true); }
private void Help() { NewGump(); ChatInfo info = ChatInfo.GetInfo(Owner); InfoGump.SendTo(Owner, 300, 300, s_Help + (Owner.AccessLevel != AccessLevel.Player ? "<BR><BR>" + s_StaffHelp : ""), true); }
private void Help() { NewGump(); string str = ""; switch (c_Listing) { case Listing.Public: str = s_MainHelp + "<BR><BR>" + (Owner.AccessLevel != AccessLevel.Player ? s_StaffOnlyHelp : "") + "<BR><BR>" + s_ColorKey; break; case Listing.Friends: str = s_FriendsHelp + "<BR><BR>" + s_ColorKey; break; case Listing.Search: str = s_SearchHelp + "<BR><BR>" + s_ColorKey; break; case Listing.IRC: str = s_IrcHelp; break; case Listing.Messages: str = s_MessagesHelp; break; case Listing.Ignores: str = s_IgnoresHelp + "<BR><BR>" + s_ColorKey; break; case Listing.Guild: str = s_GuildHelp + "<BR><BR>" + s_ColorKey; break; case Listing.Faction: str = s_FactionHelp + "<BR><BR>" + s_ColorKey; break; case Listing.Staff: str = s_StaffHelp + "<BR><BR>" + s_ColorKey; break; case Listing.Banned: str = s_BannedHelp + "<BR><BR>" + s_ColorKey; break; } InfoGump.SendTo(Owner, 300, 300, str, true); }
private void About() { NewGump(); InfoGump.SendTo(Owner, 200, 170, String.Format("<CENTER>Version: {0}<BR>Release Date: {1}<BR>Author: Knives<BR>[email protected]<BR><BR>Please provide suggestions and report bugs!", ChatInfo.Version, ChatInfo.ReleaseDate.ToShortDateString()), false); }