Code: Select all
sub main()
var x,i,NoID,count,num=0
var pak='0x413C8D42'
dim ID[10]
ID[0]='0x1B74'
ID[1]='0x0F43'
ID[2]='0x1711'
ID[3]='0x1442'
ID[4]='0x1B76'
ID[5]='0x0EC4'
ID[6]='0x108A'
ID[7]='0x13AF'
ID[8]='0x1402'
ID[9]='0x13DB'
ID[10]='0x13F6'
uo.ignorereset()
while not uo.dead()
For x = 0 to 10
count=uo.count(ID[x])
if count > 1 then
For i = 1 to count
num=num+1
wait(50)
uo.print("Item # "+str(num)+"")
uo.findtype(ID[x],'0x0000',pak)
NoID=uo.getserial('finditem')
uo.ignore(NoID)
uo.exec("waittargetobject NoID")
uo.exec("useskill 'Item Identification'")
wait(10500)
next
end if
wait(100)
next
wait(500)
wend
end sub
Скрипт почему, то не нажимает на нужную вещь. Подскажите пожалуста, в чем я ошибся?