Code:
sub BS()
VAR Trash='0x00000000'
VAR Cont='0x400A3A03'
var ing = '0x1BEF' ; type of ingot
var color = '0x0750' ;color
UO.CancelMenu()
UO.SetReceivingContainer('backpack')
UO.Automenu("Blacksmithing","Armor")
UO.Automenu("Armor","Weapons")
UO.Automenu("Weapons","Swords")
UO.Automenu("Swords","Dagger")
; UO.Automenu("Swords","Dagger")
while True
UO.DeleteJournal()
if UO.Count(ing,color)<=10 then
UO.FindType(ing,color,Cont)
UO.Grab('100','finditem')
wait(2000)
endif
UO.UseType(ing,color)
Repeat
wait(1000)
Until UO.InJournal("You put") OR UO.InJournal("fail")
if UO.Count('0x0F51')>0 then ;0x0f51 тип даггера, перепроверьте
UO.FindType('0x0F51',-1,-1) ;0x0f51 тип даггера, перепроверьте
UO.MoveItem('finditem',0,Trash)
wait(1000)
endif
Wend
end sub
Может и неправильно, делал на обум

_________________
Нет ничего невозможного...
Кто
ИЩЕТ, тот всегда найдёт...
Code:
sub UO()
UO.Chto-To("S Chem-To")
end sub
© I'm