Code:
case 1: { Interfaces.IConquerItem item = new ConquerItem(true); item.ID = 1058011; if (client.Inventory.TryGetItem(item.UID, out item)) { if (item.Bound == false) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.BoundCps += 100; } else { dialog.Text("Your item is bound."); dialog.Send(); break; } } else { dialog.Text("You do not have the item"); dialog.Send(); break; } break; }