Yoko

All sides of Injection
It is currently 2025-12-21 20:23:50

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2004-06-18 15:59:06 
Offline

Joined: 2004-06-01 12:50:42
Posts: 9
Code:
# 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 :(


Top
   
 Post subject:
PostPosted: 2004-06-18 21:44:47 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
it is enough for this command to specify PARTIAL choice name
so for 'copper gloves', 'gold gloves' etc you may use just 'gloves'


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited