Yoko

All sides of Injection
It is currently 2025-12-17 11:33:48

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 2005-08-03 18:53:27 
Offline

Joined: 2005-07-21 17:01:07
Posts: 18
можно ли использовать uo.press так?:
если нажал такую то кнопку то скрипт терминатится иначе продолжается, типа если таб жму то циклический скрипт останавливается


Top
   
 Post subject:
PostPosted: 2005-08-04 09:24:52 
Offline
Expert!
User avatar

Joined: 2004-10-15 22:38:04
Posts: 1396
Location: Moscow City.
Непонял :shock:


Top
   
 Post subject:
PostPosted: 2005-08-04 10:42:07 
Offline

Joined: 2005-07-10 11:26:37
Posts: 45
По моему нельзя.
Можно на горячую клавишу забиндить действие.
terminate ciclic_funk


Top
   
 Post subject:
PostPosted: 2005-08-04 11:02:23 
Offline
Expert!
User avatar

Joined: 2004-10-15 22:38:04
Posts: 1396
Location: Moscow City.
.Расскажите мне что хотел автор :shock:


Top
   
 Post subject:
PostPosted: 2005-08-04 12:11:41 
Offline

Joined: 2005-07-10 11:26:37
Posts: 45
ShadowOf.., я правильно тебя понял?

if uo.press(<клавиша>) then
код
end if


Top
   
 Post subject:
PostPosted: 2005-08-04 21:33:04 
Offline
Expert!
User avatar

Joined: 2004-10-15 22:38:04
Posts: 1396
Location: Moscow City.
*мир сошел с ума*


Top
   
 Post subject:
PostPosted: 2005-08-04 22:39:36 
Offline
User avatar

Joined: 2004-07-22 16:07:11
Posts: 260
Для ИМа расскжу в понятной форме, что хочет аФтор. ну вот запустил ты скрипт, допустим зацыклинный, а тебе допустим надо его отменять на кнопку, то есть если кнопка F1(как пример) нажата, то отменяеться скрипт... Я не знаю, но вроде нельзя, может ИМ скажет точнее или кто-нибудь другой, кто сведущь более чем я.


Top
   
 Post subject:
PostPosted: 2005-08-04 22:44:06 
Offline
Expert!
User avatar

Joined: 2004-10-15 22:38:04
Posts: 1396
Location: Moscow City.
сегодня я видать особенно туп :cry:
ну и чем плох хоткейс со строкой терминет?


Top
   
 Post subject:
PostPosted: 2005-08-05 11:03:02 
Offline

Joined: 2005-07-21 17:01:07
Posts: 18
Сорри я порой выражась совершенно невнятно..
Включив свою голову написал следующее:

Code:
sub eval()
  if uo.getglobal('s')=='Evaluating Intelligence skill training started' then
   uo.setglobal('s','Evaluating Intelligence skill training finished')
   else
   uo.setglobal('s','Evaluating Intelligence skill training started')
  endif
  uo.print(uo.getglobal('s'))
  if uo.getglobal('s')=='Evaluating Intelligence skill training started' then
    while not fatal error
       uo.waittargetlast()
       uo.useskill('Evaluating Intelligence')
       wait(4400)
    wend
  endif
  if uo.getglobal('s')=='Evaluating Intelligence skill training finished' then
    uo.exec('terminate eval')
  endif
endsub


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 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