|
Eto ja sam napesal(moj 1. skript) nesudit'e strogo plz...!
sub loot()
repeat
UO.FindType("0x1412","-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("0x13B9","-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("0x1B74","-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("0x140A","-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("0x140E","-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("0x1408","-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("0x0F4B","-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("0x13BB","-1","lastcorpse") ;up
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("0x1414","-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("0x1411","-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("0x1410","-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("0x1415","-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("####","-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(500)
end if
UO.FindType("platemail","-1","lastcorpse")
If UO.FindCount() == 0 Then
UO.Print("Iron Ingots not found, script terminated")
return
if uo.weight > 730 then
goto end
endif
wend
UO.DeleteJournal()
next
next
endif
end sub
sub Smelt()
UO.FindType('0x13BB','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('0x0F4B','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('0x1408','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('0x140E','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('0x140A','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('0x1B74','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('####','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('0x1412','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('0x13B9','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('0x1411','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('0x1415','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('0x1410','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('0x1414','-1',2)
UO.WaitTargetObject('finditem')
UO.UseObject(0x400B8263)
repeat
wait(1000)
UO.FindType('0x1BEF','0x0000','backpack')
If UO.GetQuantity('finditem')>0 Then
UO.SetReceivingContainer(0x400515AA)
repeat
wait(100)
UO.Grab('all','finditem')
repeat
wait(100)
UO.UnSetReceivingContainer(0x400515AA)
Endif
repeat
wait(1000)
UO.DeleteJournal()
end sub
|