UO.FindType('0x1BEF',-1,'backpack')
If UO.GetQuantity('finditem')<10 then
UO.FindType('0x1BEF','0x0000','0x4004CAE1')
UO.Grab('1000','finditem')
Endif
This is a part of your script which takes an ignots. Input 'type' of your ingot and 'color ...