Yoko

All sides of Injection
It is currently 2025-11-23 03:16:09

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2004-10-19 20:56:48 
Offline

Joined: 2004-05-18 02:24:25
Posts: 117
Code:
sub nox()
  if UO.InJournal('You have been poisoned!') then
      Uo.sayu('.drink_cure')
      wait(100)
      UO.sayu('.arm_bow')
  end if
end sub


хочу штобы скрипт был ну как бы цыкличным! чтобы он работал всегда! точнее в нужный момент пил куре и брал в руки лук!
как это зделать?
прболвал ставить репит скрит все время делает то чно в нем указано без перерыва!


Top
   
 Post subject:
PostPosted: 2004-10-19 21:31:59 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
Code:

sub nox()
While True
  if UO.InJournal('You have been poisoned!') Then
      UO.SayU('.drink_cure')
      Wait(100)
      UO.SayU('.arm_bow')
  EndIf
  UO.DeleteJournal()
  Wait(100)
Wend
end sub



Top
   
 Post subject:
PostPosted: 2004-10-19 21:33:21 
Offline

Joined: 2004-05-18 02:24:25
Posts: 117
Спосибо болшое!


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 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