public static void fonts_OnCommand(CommandEventArgs e) { Mobile from = e.Mobile; char a = '0'; if (e.Arguments.Length != 1) { from.SendMessage("You must specify a letter to edit"); return; } try { a = Convert.ToChar(e.Arguments[0]); } catch { from.SendMessage("Please only specify single characters separated by spaces."); return; } from.CloseGump(typeof(FontsGump)); Gump font_gump = new FontsGump(from, a); from.SendGump(font_gump); }