sub LootFromBones() var Bones=' type ' var dagger=' type ' var i , bonescontainer DIM loot[2]
loot[0]='' loot[1]=''
uo.WaitTargetObject('lastcorpse') uo.UseType(dagger) uo.FindType(Bones,'-1','ground') if uo.FindCount() then bonescontainer = uo.GetSerial('finditem') uo.UseObject('bonescontainer') for i = 0 to 1 uo.FindType(loot[i],'-1','bonescontainer') if uo.FindCount() then uo.moveitem('finditem','all') wait(750) end if next uo.Print(' There is nothing good in the corpse ') else uo.Print('You cant find any corpse around yourself') end if end sub
Exit=0 j=0 While j<=7 OR Exit==1 uo.FindType(Bones[j],'-1','ground') wait(300) if uo.FindCount() then bonescontainer = uo.GetSerial('finditem') Exit=1 uo.UseObject('bonescontainer') for i = 0 to 1 uo.FindType(loot[i],'-1','bonescontainer') if uo.FindCount() then uo.moveitem('finditem','all') wait(750) end if next uo.Print(' There is nothing good in the corpse ') endif j=j+1 Wend end sub
Exit=0 j=0 While j<=7 OR Exit==1 uo.FindType(Bones[j],'-1','ground') wait(300) if uo.FindCount() then bonescontainer = uo.GetSerial('finditem') Exit=1 uo.UseObject('bonescontainer') for i = 0 to 1 uo.FindType(loot[i],'-1','bonescontainer') if uo.FindCount() then uo.moveitem('finditem','all') wait(750) end if next uo.Print(' There is nothing good in the corpse ') endif j=j+1 Wend end sub
не хочет он работать резать режет а лутить не хочет! а еще можете в это скрипт вставить что бы он лутил даже если вы в варе?