///////////////////////////////////////////////////////////////////////// // // www.ultima.smoce.net // Name: Ground TMR search // ///////////////////////////////////////////////////////////////////////// using System; using System.Collections.Generic; using System.Text; using Phoenix; using Phoenix.WorldData; using System.Linq; namespace Phoenix.Scripts { public class asdsadsadas { [Command] public void search_tmr() { World.Player.Print(0x0553, "Hledam TMR kade mauurie ..."); foreach (UOItem tmr in from c in World.Ground where c.Distance <= 10 && (c.Graphic == 0x1843) select c) { // UO.MoveItem(tmr.Serial, 0, World.Player.Backpack); UO.Print(0x0102, "Nalezeno - " + tmr.Name ); UO.Wait(200); } World.Player.Print(0x0553, "Tot vse...."); } } }