///////////////////////////////////////////////////////////////////////// // // www.ultima.smoce.net // Name: Detect Hiden - train // ///////////////////////////////////////////////////////////////////////// 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_1779634707 { [Executable] public void DeteckHidTrening() { while (!World.Player.Dead) { using (JournalEventWaiter waiter = new JournalEventWaiter(true, "You can see nothing hidden there.", "You find", "You are preoccupied with thoughts of battle.")) { UO.Print("Detekuji ..."); UO.UseSkill("Detecting Hidden"); UO.Wait(500); if (!waiter.Wait(10000)) UO.PrintWarning("Waiting for Skill timeout."); } } } } }