public override void OnResponse(NetState state, RelayInfo info) { switch (info.ButtonID) { default: break; case 1: if (VendorMap.SetLocation != Point3D.Zero) { User.Frozen = true; DoRecall(VendorMap.SetLocation, VendorMap.SetMap); User.PublicOverheadMessage(MessageType.Spell, User.SpeechHue, true, "Kal Ort Por", false); } else if (!VendorMap.CheckVendor()) { User.SendLocalizedMessage(1154643); // That item is no longer for sale. } else if (Banker.Withdraw(User, Cost, true)) { User.Frozen = true; VendorMap.SetLocation = User.Location; VendorMap.SetMap = User.Map; User.PublicOverheadMessage(MessageType.Spell, User.SpeechHue, true, "Kal Ort Por", false); DoRecall(VendorMap.GetVendorLocation(), VendorMap.GetVendorMap()); } else { User.SendLocalizedMessage(1019022); // You do not have enough gold. } break; } }