BS-поправте
Posted: 2005-06-17 11:09:46
Короче скрипт не рабоает он Юзает молоток но таргет некак не ткнит на ингы айрона. плиз поправте его
Code: Select all
sub BlacksmithyIM()
var Exit=0, LastTimer
uo.Print('Âûáåðè Ñóíäóê: ')
uo.Exec('addobject Chest')
while uo.Targeting()
wait(100)
wend
uo.Print('Âûáåðè Ïîìîéêó: ')
uo.Exec('addobject TrashCan')
while uo.Targeting()
wait(100)
wend
while Exit<>1
uo.DeleteJournal()
uo.FindType('0x0F51','0x0000','backpack')
if uo.GetQuantity('finditem')>0 then
uo.SetReceivingContainer('TrashCan')
wait(1000)
uo.Grab('all','finditem')
wait(1000)
uo.UnSetReceivingContainer()
end if
uo.FindType('0x1BEF ',-1,'backpack')
if uo.GetQuantity('finditem')<10 then
uo.FindType('0x1BEF ','0x0000','Chest')
wait(1000)
uo.Grab('300','finditem')
wait(1000)
end if
LastTimer=uo.Timer()
uo.DeleteJournal()
uo.WaitMenu ('Blacksmithing','Weapons','Weapons','Swords','Swords','dagger')
uo.UseType('0x13E3')
wait(12000)
wend
end sub