Yoko http://forum.yoko.com.ua/ |
|
Cutting leather script http://forum.yoko.com.ua/viewtopic.php?f=20&t=437 |
Page 1 of 1 |
Author: | serpentkillers [ 2004-05-24 20:39:34 ] |
Post subject: | Cutting leather script |
I did a script: Code: sub botas() - 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" |
Author: | Kazoo [ 2004-05-25 00:33:37 ] |
Post subject: | Re: Cutting leather script |
serpentkillers wrote: I did a script: Code: sub botas() - 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" becouse it's need to be so Code: UO.WaitTargetobject("botas[i]") |
Author: | toqui [ 2004-05-25 00:36:42 ] |
Post subject: | mejor |
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 |
Author: | Biga [ 2004-05-25 17:10:18 ] |
Post subject: | |
Code: dim botas[4] Dim botas[4] declares array 0..3. (Йоко, я прав?) Code: UO.WaitTargettype("botas[i]") Right: UO.WaitTargettype(botas[i]) |
Page 1 of 1 | All times are UTC+02:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |