Yoko

All sides of Injection
It is currently 2026-03-12 21:51:22

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Алхимия->Poison
PostPosted: 2004-09-21 14:03:24 
Offline

Joined: 2004-07-28 17:13:36
Posts: 11
Помогите со скриптом, должен делать простые Poison, но так как в меню перед ним есть Lesser Poison, то он попадает на него и его и делает
Code:
sub Alchemy()
 var reagent="0x0F88", min_reg=1, choice='Poison'
 var bottles="0x0F0E", LastTimer

  UO.CancelMenu()
  while UO.Count(bottles,"0x0000")>0 AND UO.Count(reagent)>=min_reg
    Hungry(50)
    Hide()
    CheckLag()
    UO.DeleteJournal()
    UO.WaitMenu("What sort of potion do you want to", choice)
    UO.UseType(reagent)
    LastTimer = UO.Timer()
    repeat
      wait(300)
    until UO.InJournal("You put") OR UO.InJournal("failed") OR UO.Timer()>LastTimer+150
  wend
end sub


Top
   
 Post subject:
PostPosted: 2004-09-21 14:12:14 
Offline

Joined: 2004-07-28 17:13:36
Posts: 11
Все, разобрался, указываю конкретный номер выбора в скобках (2) в данном случае. Извините за беспокойство.


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 4 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