Yoko
http://forum.yoko.com.ua/

WHERE BE THE ERROR.... PLZ Help!
http://forum.yoko.com.ua/viewtopic.php?f=11&t=7712
Page 1 of 1

Author:  fuzazin [ 2006-05-18 01:49:12 ]
Post subject:  WHERE BE THE ERROR.... PLZ Help!

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

Author:  Grin [ 2006-05-18 03:48:22 ]
Post subject: 

incorrect useing waitmenu...
something like this uo.waitmenu('What', 'Carpet', 'What', 'Carpet')

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/