Yoko

All sides of Injection
It is currently 2026-01-18 14:53:15

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: stop скр...
PostPosted: 2005-04-18 17:41:24 
Offline

Joined: 2005-02-08 18:39:50
Posts: 444
Location: Moscow
как можно остановить скрипт используя журнал???
т.э.
если в журнале пояаляется определенное слово, то скрипт выключается......


Top
   
 Post subject:
PostPosted: 2005-04-18 18:03:29 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
Code:
  If UO.InJournal('bla-bla-bla') Then
     UO.exec ("Terminate all")
  Else
    wait(500)
  EndIf


Top
   
 Post subject:
PostPosted: 2005-04-18 18:19:10 
Offline

Joined: 2005-02-08 18:39:50
Posts: 444
Location: Moscow
хмм...что-то не фурычит
мож что-то не так???
Code:
sub medic() 
UO.DeleteJournal()

while UO.Mana<UO.Int
UO.Exec("warmode 0")
UO.UseSkill('Meditation')
repeat
wait(100)
until UO.InJournal("You are") OR UO.InJournal("You lose")
wait(1000)
If UO.InJournal('Select target...') Then
     UO.exec ("Terminate all")
  Else
    wait(500)
  EndIf
UO.DeleteJournal()
wend
end sub


Top
   
 Post subject:
PostPosted: 2005-04-19 18:53:06 
Offline

Joined: 2005-02-08 18:39:50
Posts: 444
Location: Moscow
ап....

прально я хоть написал??


Top
   
 Post subject:
PostPosted: 2005-04-19 18:55:47 
Offline

Joined: 2005-02-22 20:03:13
Posts: 77
убери в начале очистку журнала

_________________
говорила мне мама "учись неуч"


Top
   
 Post subject:
PostPosted: 2005-04-19 19:15:57 
Offline

Joined: 2005-02-08 18:39:50
Posts: 444
Location: Moscow
Code:
sub medic() 
while UO.Mana<UO.Int
UO.Exec("warmode 0")
UO.UseSkill('Meditation')
repeat
wait(100)
until UO.InJournal("You are") OR UO.InJournal("You lose")
wait(1000)
If UO.InJournal('Select target...') Then
     UO.exec ("Terminate all")
  Else
    wait(500)
  EndIf
UO.DeleteJournal()
wend
end sub

все равно не останавливает -(


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited