sub botas() VAR i dim botas[4] botas[1]= 0x170b botas[2]= 0x170f botas[3]= 0x170e botas[4]= 0x1711 Start: For i = 1 to 4 UO.Usetype("0x0f9e") Wait(1000) UO.WaitTargetobject("botas[i]") wait(4000) next goto Start end sub
- botas[1,2,3,4] are the types of boots
- "0x0f9e" is the scissors
The problem is: when i try to run it, cames a msg "what you select didn't exists"
sub botas() VAR i dim botas[4] botas[1]= 0x170b botas[2]= 0x170f botas[3]= 0x170e botas[4]= 0x1711 Start: For i = 1 to 4 UO.Usetype("0x0f9e") Wait(1000) UO.WaitTargetobject("botas[i]") wait(4000) next goto Start end sub
- botas[1,2,3,4] are the types of boots - "0x0f9e" is the scissors
The problem is: when i try to run it, cames a msg "what you select didn't exists"
sub botas()
VAR i
dim botas[4]
botas[1]= 0x170b
botas[2]= 0x170f
botas[3]= 0x170e
botas[4]= 0x1711
Start:
For i = 1 to 4
UO.Usetype("0x0f9e")
Wait(1000)
UO.WaitTargettype("botas[i]")
wait(4000)
next
goto Start
end sub