Yoko

All sides of Injection
It is currently 2026-01-18 18:11:49

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2005-03-30 20:29:57 
Offline

Joined: 2004-08-25 23:06:06
Posts: 41
Сабж, помогите незнаю как сделаьт так...


Top
   
 Post subject:
PostPosted: 2005-03-30 20:41:51 
Offline
User avatar

Joined: 2004-07-10 00:38:43
Posts: 203
Location: From DrW
Code:
####################### 
sub Terminate()
uo.exec ("Terminate all")
end sub
#######################

Это макрос на выключение других макросов :)
В хоткейс пишешь exec Terminate и сохраняешь :D

_________________
Нет ничего невозможного...
Кто ИЩЕТ, тот всегда найдёт...
Code:
sub UO() 
UO.Chto-To("S Chem-To")
end sub

© I'm


Top
   
 Post subject:
PostPosted: 2005-03-30 20:45:18 
Offline

Joined: 2004-08-25 23:06:06
Posts: 41
хе, не плохо, тока как ещё сделать что бы я щёлкал на кнопку скрипт пускался, а при повторном нажатии выключался


Top
   
 Post subject:
PostPosted: 2005-03-30 21:24:24 
Offline
User avatar

Joined: 2004-07-10 00:38:43
Posts: 203
Location: From DrW
exec xxx - где xxx название функции sub. Это в хоткейс и всё. И того у тебя будет 2 кнопки.

_________________
Нет ничего невозможного...

Кто ИЩЕТ, тот всегда найдёт...

Code:
sub UO() 
UO.Chto-To("S Chem-To")
end sub


© I'm


Top
   
 Post subject:
PostPosted: 2005-03-30 23:20:47 
Offline

Joined: 2004-08-25 23:06:06
Posts: 41
что то я не допонял стукни в аську или стовою оставь ася:4721848


Top
   
 Post subject:
PostPosted: 2005-03-31 00:55:40 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Первый макро - свитч, второй исполняет.
Code:
#==============================================================
#  Arrowm() - cast magic arrow on lastattack
#--------------------------------------------------------------

sub OnArrow()
; Assign on Num F1 in hotkeys
   If UO.GetGlobal('OnArrow')=='Off' Then
      UO.Exec("exec arrowm")
      UO.SetGlobal('OnArrow','On')
   Else
      UO.SetGlobal('OnArrow','Off')
      UO.Exec("terminate arrowm")
   Endif
end sub


sub Arrowm()
   VAR Exit=0
   UO.Set('lasttarget','lastattack')
   While Exit<>1
      If UO.Mana<4 Then
         UO.Usetype('0x0F0E','0x09DF')
      Endif
      UO.Cast('Magic Arrow','lastattack')
      wait(1200)
uo.Print(STR(UO.IsNpc('lastattack')))
      If UO.IsNpc('lastattack')==0 Then
         Exit=1
      Endif
   Wend
   UO.SetGlobal('OnArrow','Off')
end sub



Top
   
 Post subject:
PostPosted: 2005-03-31 17:17:52 
Offline

Joined: 2004-08-25 23:06:06
Posts: 41
Спасибо


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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