sub BS() VAR Cont='0x400BE929' var ing = '0x1BEF' ; type of ingot var color = '0x0750' ;color UO.CancelMenu() UO.SetReceivingContainer('backpack') UO.Automenu("Blacksmithing","Colored Armor & Weapons") UO.Automenu("Colored Armor & Weapons","Rusty Weapons") UO.Automenu("Rusty Weapons","Rusty Swords & Blades") UO.Automenu("Rusty Swords & Blades","Rusty Dagger") ; UO.Automenu("Rusty Dagger") while True UO.DeleteJournal() if UO.Count(ing,color)<=10 then UO.FindType(ing,color,Cont) UO.Grab('100','finditem') wait(2000) endif UO.UseType(ing,color) Repeat wait(1000) Until UO.InJournal("You put") OR UO.InJournal("fail") if UO.Count('0x0F51')>0 then ;0x0f51 тип даггера, перепроверьте UO.FindType('0x0F51',-1,-1) ;0x0f51 тип даггера, перепроверьте UO.MoveItem('finditem',0,Cont) wait(1000) endif Wend end sub
sub BS() VAR Cont='0x400BE929' var ing = '0x1BEF' ; type of ingot var color = '0x0750' ;color UO.CancelMenu() UO.SetReceivingContainer('backpack') UO.Automenu("Blacksmithing","Colored Armor & Weapons") UO.Automenu("Colored Armor & Weapons","Rusty Weapons") UO.Automenu("Rusty Weapons","Rusty Swords & Blades") UO.Automenu("Rusty Swords & Blades","Rusty Dagger") ; UO.Automenu("Rusty Dagger") while True UO.FindType('0x0F51',-1,'backpack') #укажи здесь тип того чего хочешь делать, в твоем случае тип расти дагера wait(500)
If UO.GetQuantity('finditem') then UO.WaitTargetObject('finditem') UO.UseObject(0x40072029) ; Форж wait(500) Endif UO.DeleteJournal() if UO.Count(ing,color)<=10 then UO.FindType(ing,color,Cont) UO.Grab('100','finditem') wait(2000) endif UO.UseType(ing,color) Repeat wait(1000) Until UO.InJournal("You put") OR UO.InJournal("fail") if UO.Count('0x0F51')>0 then ;0x0f51 тип даггера, перепроверьте UO.FindType('0x0F51',-1,-1) ;0x0f51 тип даггера, перепроверьте UO.MoveItem('finditem',0,Cont) wait(1000) endif Wend end sub
sub BS() VAR Cont='0x400BE929' var ing = '0x1BEF' ; type of ingot var color = '0x0750' ;color UO.CancelMenu() UO.SetReceivingContainer('backpack') UO.Automenu("Blacksmithing","Colored Armor & Weapons") UO.Automenu("Colored Armor & Weapons","Rusty Weapons") UO.Automenu("Rusty Weapons","Rusty Swords & Blades") UO.Automenu("Rusty Swords & Blades","Rusty Dagger") ; UO.Automenu("Rusty Dagger") while True UO.FindType('0x0F51',-1,'backpack') #укажи здесь тип того чего хочешь делать, в твоем случае тип расти дагера wait(500)
If UO.GetQuantity('finditem') then UO.WaitTargetObject('finditem') UO.UseObject(0x40072029) ; Форж wait(500) Endif UO.DeleteJournal() if UO.Count(ing,color)<=10 then UO.FindType(ing,color,Cont) UO.Grab('100','finditem') wait(2000) endif UO.UseType(ing,color) Repeat wait(1000) Until UO.InJournal("You put") OR UO.InJournal("fail") if UO.Count('0x0F51')>0 then ;0x0f51 тип даггера, перепроверьте UO.FindType('0x0F51',-1,-1) ;0x0f51 тип даггера, перепроверьте UO.MoveItem('finditem',0,Cont) wait(1000) endif Wend end sub
sub BS() VAR Cont='0x400BE929' var ing = '0x1BEF' ; type of ingot var color = '0x0750' ;color UO.CancelMenu() UO.SetReceivingContainer('backpack') UO.Automenu("Blacksmithing","Colored Armor & Weapons") UO.Automenu("Colored Armor & Weapons","Rusty Weapons") UO.Automenu("Rusty Weapons","Rusty Swords & Blades") UO.Automenu("Rusty Swords & Blades","Rusty Dagger") ; UO.Automenu("Rusty Dagger") while True UO.DeleteJournal() if UO.Count(ing,color)<=10 then UO.FindType(ing,color,Cont) UO.Grab('100','finditem') wait(2000) endif UO.UseType(ing,color) Repeat wait(1000) Until UO.InJournal("You put") OR UO.InJournal("fail")
UO.FindType('0x0F51',-1,'backpack') #укажи здесь тип того чего хочешь делать, в твоем случае тип расти дагера wait(500)
If UO.GetQuantity('finditem') then UO.WaitTargetObject('finditem') UO.UseObject(0x40072029) ; Форж wait(500) Endif Wend end sub
sub BS() VAR Cont='0x400BE929' var ing = '0x1BEF' ; type of ingot var color = '0x0750' ;color UO.CancelMenu() UO.SetReceivingContainer('backpack') UO.Automenu("Blacksmithing","Colored Armor & Weapons") UO.Automenu("Colored Armor & Weapons","Rusty Weapons") UO.Automenu("Rusty Weapons","Rusty Swords & Blades") UO.Automenu("Rusty Swords & Blades","Rusty Dagger") ; UO.Automenu("Rusty Dagger") while True UO.DeleteJournal() if UO.Count(ing,color)<=10 then UO.FindType(ing,color,Cont) UO.Grab('100','finditem') wait(2000) endif UO.UseType(ing,color) Repeat wait(1000) Until UO.InJournal("You put") OR UO.InJournal("fail")
UO.FindType('0x0F51',-1,'backpack') #укажи здесь тип того чего хочешь делать, в твоем случае тип расти дагера wait(500)
If UO.GetQuantity('finditem') then UO.WaitTargetObject('finditem') UO.UseObject(0x40072029) ; Форж wait(500) Endif wait(2000)
UO.UseSkill('Spirit Speak') wait(4000) Wend end sub