///////////////////////////////////////////////////////////////////////// // // www.ultima.smoce.net // Name: GDB // ///////////////////////////////////////////////////////////////////////// using System; using System.Collections.Generic; using System.Text; using Phoenix; using Phoenix.WorldData; using System.Linq; using Phoenix.Communication; using Phoenix.Runtime; using Phoenix.Runtime.Reflection; namespace Scripts.DarkParadise { public class ultima_smoce_net_1779634778 { [Command] public static void GDB() {//by smoce UO.Print(0x00B3, "Equip Greatr Diamont Bracelet !!!"); UO.Wait(100); UOItem gdb = World.Player.Backpack.AllItems.FindType(0x1086,0x0000); if (!gdb.Exist) { UO.UseType(0x1086); UO.Wait(500); if (World.Player.Layers[Layer.Bracelet].Graphic == 0x1086) { UO.MoveItem(World.Player.Layers[Layer.Bracelet].Serial, 1, World.Player.Backpack); UO.Print(0x00A8, "Sundan Greatr Diamont Bracelet !!!"); } else { UO.PrintWarning("Nemas nasazeny RING - Greatr Diamont Bracelet"); } } else { UO.PrintInformation("Nemas u sebe Greatr Diamont Bracelet "); } } } }