1. For ores droping and smelting
2. it should pickup one ore from backpack and drop it under me
3. then i think i can use UO.usefromground
4. so thats all only one requipment that a script should be with a VAR (for easier configuration)
very thanks

Moderators: Murderator+, Murderator
Code: Select all
sub drop()
var type = '19b9'
var type2 = '19b7'
while not Uo.Dead()
uo.findtype(type)
if Uo.Findcount() > 0 then
Uo.Drophere('finditem')
wait(400)
Uo.Usefromground(type2)
wait(200)
wend
endsub
-=JoKeR=- wrote:Code: Select all
sub drop()
var type = '19b9'
var type2 = '19b7'
while not Uo.Dead()
uo.findtype(type)
if Uo.Findcount() > 0 then
Uo.Drophere('finditem')
wait(400)
Uo.Usefromground(type2)
wait(200)
wend
endsub
something like this ? =)
Code: Select all
sub
while
if
wend
end sub
Code: Select all
sub metymas()
Dim Ruda[3]
Ruda[0] = '0x19B9' # then > 3
Ruda[1] = '0x19B8' # then = 3
Ruda[2] = '0x19BA' # then = 2
Ruda[3] = '0x19B7' # then = 1
Var i
for i = 0 to 3
UO.FindType(Ruda[i],'-1','backpack')
if uo.findcount() > 0 then
uo.moveitem('finditem','1','ground')
wait(400)
UO.usefromground('0x19B7')
wait(200)
wend
endsub
Mazer wrote:Code: Select all
sub metymas()
Dim Ruda[3]
Ruda[0] = '0x19B9' # then > 3
Ruda[1] = '0x19B8' # then = 3
Ruda[2] = '0x19BA' # then = 2
Ruda[3] = '0x19B7' # then = 1
Var i
for i = 0 to 3
UO.FindType(Ruda[i],'-1','backpack')
if uo.findcount() > 0 then
uo.moveitem('finditem','1','ground')
wait(400)
UO.usefromground('0x19B7')
wait(200)
wend
endsub
whats wrong here ?i writed it by my self
) i want something like this:)