alchemy
Posted: 2004-04-05 02:37:26
знаушие помагите допешите штоби когда зделал 100 тоталок он клал их в сундук .. а если не хвотает регоф или бутилок их бы взял из яшика !
Code: Select all
sub Alchemy(reagent, min_reg, choice)
while UO.Count('0x0F0E','0x0000')>0 AND UO.Count(reagent)>=min_reg
UO.DeleteJournal()
UO.Exec("waitmenu 'What sort of potion do you want to' "+choice)
UO.UseType(reagent)
while NOT UO.InJournal("You put") AND NOT UO.InJournal("You toss the failed")
wait(300)
wend
wend
gong(2)
end sub
sub maketm()
alchemy('0x0F87', 6, "'Total Mana'")
end sub