i do this macro.. but somthing its stranger... apear this error = Warning: menu 'What would you like to make?' opened. waiting cancelled . Plz help. How i can do this work?
sub Tailoring()
uo.exec("addobject Tool")
while uo.targeting()
wait(500)
wend
uo.exec("addobject cloths")
while uo.targeting()
wait(500)
wend
var menu1,menu2,loops
var skill = " Tailoring: "
Menu1 = "Carpet"
Menu2 = "Carpet"
loops= "10"
uo.exec("set norbcheck 1")
uo.exec("set norbcalc 1")
loop:
uo.exec("waitmenu" +skill +menu1 +skill +menu2)
uo.exec("recall self 0")
uo.exec("waittargetobject cloths")
uo.exec("useobject Tool")
uo.deletejournal()
wait(4000)
uo.say(loops)
while not uo.injournal("You stop crafting.")
wait(500)
wend
goto loop
end sub
|