//////////////////////////////////////////// // Tintamar's Page In Queue // // Sends gump showing // // staff that someone has // // paged for GM help // /////////////////////////////////////////// using System; using System.Collections; using System.Web.Mail; using System.IO; using Server; using Server.Mobiles; using Server.Gumps; using Server.Network; using Server.Misc; using Server.Accounting; using Server.Engines.Help; namespace Server.Gumps { public class TintamarsPageInQueue : Gump { public TintamarsPageInQueue( Mobile owner ) : base( 180, 50 ) { this.Closable=true; this.Disposable=true; this.Dragable=true; this.Resizable=false; this.AddPage(0); this.AddBackground(0, 0, 179, 100, 2620); this.AddLabel(12, 15, 1150, @"There Is A Page In Queue"); this.AddButton(68, 59, 2074, 2075, 1, GumpButtonType.Reply, 0); } public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons { Mobile from = state.Mobile; switch ( info.ButtonID ) { case 0: { from.SendMessage( "type [pages to check page queue, someone might need help." ); break; } case 1: { from.SendGump( new PageQueueGump() ); break; } } } } }