пользуйтесь
sub Oak()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Oak Items'")
UO.Exec ("automenu 'Oak Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Red()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Red Tree Items'")
UO.Exec ("automenu 'Red Tree Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Dark()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Dark Tree Items'")
UO.Exec ("automenu 'Dark Tree Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Swamp()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Swamp Items'")
UO.Exec ("automenu 'Swamp Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Silver()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Silver Leaf Items'")
UO.Exec ("automenu 'Silver Leaf Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Keranit()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Keranit Items'")
UO.Exec ("automenu 'Keranit Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Perit()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Perit Items'")
UO.Exec ("automenu 'Perit Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Petrified()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Petrified Items'")
UO.Exec ("automenu 'Petrified Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Dragon()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Dragon Tree Items'")
UO.Exec ("automenu 'Dragon Tree Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Vampire()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Vampire Tree Items'")
UO.Exec ("automenu 'Vampire Tree Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Eridan()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Eridan Items'")
UO.Exec ("automenu 'Eridan Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Hellios()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Hellios Items'")
UO.Exec ("automenu 'Hellios Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Illusions()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Illusions Tree Items'")
UO.Exec ("automenu 'Illusions Tree Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Crystal()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Crystal Items'")
UO.Exec ("automenu 'Crystal Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub
sub Dead()
UO.Exec ("cancelmenu")
UO.Exec ("automenu 'What do you want to carve the wood into?' 'Dead Tree Items'")
UO.Exec ("automenu 'Dead Tree Items' 'torch'")
while uo.count('0x1BDD') > 1
UO.Exec ("waittargettype 0x1BDD")
UO.Exec ("usetype 0x0F51")
wait(5000)
Wend
end sub