public static void RebuildCategorization_OnCommand( CommandEventArgs e ) { CategoryEntry root = new CategoryEntry( null, "Add Menu", new CategoryEntry[]{ Items, Mobiles } ); Export( root, "Data/objects.xml" ); e.Mobile.SendMessage( "Categorization menu rebuilt." ); }