#练打铁
sub mbs()
var i
uO.Print("Welcome use Zerg[B&W]'s Macro BlackSmith Script v1.1")
UO.Print("our website
http://www.wowbw.net")
UO.Say(".autoloop 10")
uo.addtype("ingot","0x1bf2")
uo.addtype("smithhammer","0x13e3")
uo.addtype("dagger","0x0f51")
start:
#选择要打什么物品
if UO.count("ingot") >24 then
repeat
uo.cancelmenu()
if uo.skillval("Blacksmithing")>= 850 then
menu3('make','Armors','armor','Platemail','make','Breastplate')
end if
if uo.skillval("Blacksmithing") >= 820 and uo.skillval("Blacksmithing") <850 then
menu3('make','Armors','armor','Platemail','make','Platemail Legs')
end if
if uo.skillval("Blacksmithing") >= 780 and uo.skillval("Blacksmithing") <820 then
menu3('make','Armors','armor','Platemail','make','Platemail Arms')
end if
if uo.skillval("Blacksmithing") >= 740 and uo.skillval("Blacksmithing") <780 then
menu3('make','Armors','armor','Helmets','make','Plate Helm')
end if
if uo.skillval("Blacksmithing") >= 690 and uo.skillval("Blacksmithing") <740 then
menu3('make','Armors','armor','Platemail','make','Platemail Gloves')
endif
if uo.skillval("Blacksmithing") >= 600 and uo.skillval("Blacksmithing") <690 then
menu3('make','Armors','armor','Platemail','make','Platemail Gorget')
end if
if uo.skillval("Blacksmithing") >= 500 and uo.skillval("Blacksmithing") <600 then
menu3('make','Weapons','weapon','Swords','make','Katana')
end if
if uo.skillval("Blacksmithing") >= 400 and uo.skillval("Blacksmithing") <500 then
menu3('make','Weapons','weapon','Other','make','Short Spear')
end if
if uo.skillval("Blacksmithing") >= 300 and uo.skillval("Blacksmithing")<400 then
menu3('make','Weapons','weapon','Swords','make','Cutlass')
end if
wait(500)
uo.exec("waittargettype ingot")
uo.exec("usetype smithhammer")
for i =1 to 10
wait(10050)
next
until UO.count("ingot") <25
else
UO.Print("Not Enough Ingot..Start Macro ArmLore.")
repeat
UO.exec("waittargettype dagger")
UO.Exec("useskill 'Arms Lore'")
wait(10000)
until UO.count("ingot") >24
UO.Print("Ok..Have More Ingot Can Make Itme Now..Go On Macroing Blacksmithing")
end if
goto start
end sub