Yoko

All sides of Injection
It is currently 2025-11-02 01:33:36

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2008-08-15 13:48:45 
Offline

Joined: 2006-11-13 02:22:14
Posts: 7
Всем привет! Народ у меня есть скрипт на обкаст при написании фразы "obkast" , в этот скрипт мне нужно отдельно добавить чтобы мой маг кастовал bless на цель когда она говорит фразу "bless". В скриптинге я полный ноль, пожалуйста помогите.
Вот Скрипт:
Code:
sub main()
   var jrnl, i, p_len = 5 ;
   var phrase = "obkast" ;
   DIM players[6]
   ;
   players[0] = '0x0170361E'; 1
   players[1] = '0x0170C0FE'; 2
   players[2] = '0x0051D929'; 3
   players[3] = '0x016F1491'; 4
   players[4] = '0x0050E47B'; 5

repeat
      jrnl = uo.inJournal(phrase);
      if jrnl then
         for i=0 to p_len-1
            if uo.journalserial(jrnl-1) == players[i] then
            obkast.do(uo.journalserial(jrnl-1))
endif
         next
         uo.setjournalline(jrnl-1, '')
      endif
      wait(200)
   until false
   uo.DeleteJournal()
end sub

Sub obkast.do(serial)
   uo.cast('Protection', serial)
   Wait(2000)
   uo.cast('Bless', serial)
   wait(50)
   uo.DeleteJournal()
end sub


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

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