public static void ItemList(string value, WorldClient client) { var type = (ItemTypeEnum)short.Parse(value); var itemList = ItemRecord.GetItemsByType(type).ConvertAll <int>(x => x.Id); client.Character.Reply(string.Format("For Type {0} ItemList: {1}", type.ToString(), itemList.ToSplitedString())); }