sub main() sub tailoring() while 1 if uo.count(0x175D)<30 then move_clothes_to_pack() uo.findtype('0x175D',-1,0x40118E88) uo.grab('300','finditem') wait(1000) end if do_robes() wait(10500) wend end sub sub do_robes() UO.AutoMenu('Misc','body') UO.AutoMenu('Cloth','Misc') uo.usetype('0x0F9D') uo.waitmenu('What do you want to use the sewing kit on?') uo.waittargettype('0x175D') end sub sub move_clothes_to_pack() uo.findtype('0x1541',-1,'0x4007477A') if uo.findCount()>0 then for var i=0 to uo.findCount()-1 uo.findtype('0x1541',-1,'my') uo.usetype('0x0F9E') uo.waitmenu('What do you want to use this on?') uo.waittargettype('0x1F03') wait(1000) next endif endsub sub to_30() while 1 if uo.count(0x1515)<5 then move_staffs_to_pack() uo.findtype('0x1515',-1,0x400CE918) uo.grab('30','finditem') wait(1000) end if do_robes() wait(1000) wend endsub
Last edited by maximka4 on 2004-12-06 21:38:10, edited 1 time in total.
sub robe() var cloth ='' #type trjapok var tool='0x0F9D' # sewing kit var cont=''# type contenera var noz=''#type noznic var robe''#type of robe
while not UO.Dead() uo.cancelmenu() uo.automenu("","") uo.automenu("","") UO.findtype(cloth,'-1','backpack') if UO.GetQuantity('finditem')<20 then UO.findtype(cloth,'-1',cont) wait(200) uo.grab('400','finditem') wait(300) endif uo.DeleteJournal() uo.waittargettype(cloth) wait(300) uo.usetype(tool) wait(1000) repeat until uo.injournal("put") or uo.injournal("failed") bbb(cont,noz,robe) wend end sub
sub bbb() UO.findtype(robe) if uo.getquanity('finditem') then UO.waittargettype(robe) wait(300) UO.usetype(noz) wait(100) endif uo.findtype('')# type bandazek, ne pomnu if uo.getquanity('finditem') then wait(200) uo.moveitem('findtype','-1',cont) wait(100) endif end sub
sub main() sub body() var cloth ='0x175D' #type trjapok var tool='0x0F9D' # sewing kit var cont='0x0E7D' # type contenera var noz='0x0F9E' #type noznic var body'0x1541' #type of body
while not UO.Dead() uo.cancelmenu() UO.AutoMenu('Misc','body') UO.AutoMenu('Cloth','Misc') UO.findtype(cloth,'-1','backpack') if UO.GetQuantity('finditem')<20 then UO.findtype(cloth,'-1',cont) wait(200) uo.grab('400','finditem') wait(300) endif uo.DeleteJournal() uo.waittargettype(cloth) wait(300) uo.usetype(tool) wait(1000) repeat until uo.injournal("put") or uo.injournal("failed") bbb(cont,noz,body) wend end sub
sub bbb() UO.findtype(body) if uo.getquanity('finditem') then UO.waittargettype(body) wait(300) UO.usetype(noz) wait(100) endif uo.findtype('0x0E21')# type bandazek, ne pomnu if uo.getquanity('finditem') then wait(200) uo.moveitem('findtype','-1',cont) wait(100) endif end sub