Page 1 of 1

Random word in crafting menu

Posted: 2004-06-18 15:59:06
by Nazgul

Code: Select all

# BlackSmith
Var MenuN1='Blacksmithing' # Part of menu name
Var MenuP1='Studded Armour' # Part of what you choose
Var MenuN2=[b]'copper Studded'[/b]
Var MenuP2=[b]'Copper Studded Gloves'[/b]

Var ItName='You put'

sub BS()
While 1
 UO.CancelMenu()
 UO.AutoMenu(MenuN1,MenuP1)
 UO.AutoMenu(MenuN2,MenuP2)
 UO.DeleteJournal()
 Wait(100)
 UO.UseType('Ingots') 
  While not (uo.injournal('failed') or uo.injournal(ItName))
 Wait(100)
  Wend
 Wait(100)
Wend
UO.CancelMenu()
EndSub



Is there any way to make Injection to add itself a word Bronze or Iron in the "copper" place without doing it manually? I want it just to make gloves but when i do it from diffrent ingots i need to rewrite it :(

Posted: 2004-06-18 21:44:47
by Yoko
it is enough for this command to specify PARTIAL choice name
so for 'copper gloves', 'gold gloves' etc you may use just 'gloves'