Yoko

All sides of Injection
It is currently 2025-12-23 11:29:03

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2007-08-14 13:20:30 
Offline
User avatar

Joined: 2007-03-02 15:35:49
Posts: 43
Здравствуйте, вот у меня есть два таких скрипта:
Code:
Sub Arrow()
if Not uo.Waiting() then
 uo.Exec("cast 'Magic Arrow' last")
end if
 if uo.InJournal("cliloc# 0xA3A1") then
  uo.Exec("cast 'Magic Arrow' lastattack")
   uo.Exec("cast 'Magic Arrow' last")
    uo.DeleteJournal()
 end if
end sub

и вот такой например:
Code:
sub fireball()
if not uo.waiting() then
UO.exec("cast 'Fireball' lasttarget")
end if
if (UO.InJournal('cliloc# 0xA3A1') or UO.InJournal('cliloc# 0xAB74')) then
UO.exec("cast 'Fireball' ")
UO.DeleteJournal()
end if
end sub

Подскажиет пожалуйста, можно ли их как-то совместить в один, что б чередовалась атакующая магия, сначало стрелка, потом фаербол зажав лишь одну клавишу?* Буду очень благодарен за помощь.

_________________
*Life Is Art Of Existence*


Top
   
 Post subject:
PostPosted: 2007-08-15 11:36:32 
Offline
User avatar

Joined: 2007-03-02 15:35:49
Posts: 43
Подскажиет, это хотя бы реально?

_________________
*Life Is Art Of Existence*


Top
   
 Post subject:
PostPosted: 2007-08-15 17:43:07 
Offline
Expert!
User avatar

Joined: 2004-10-15 22:38:04
Posts: 1396
Location: Moscow City.
Да.
Можно сделать допустим через глобальную переменную (или гет/сетизиуо) изменяющуюся каждый раз.

_________________
The End.


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