Yoko

All sides of Injection
It is currently 2025-10-15 15:10:50

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2010-09-04 18:05:02 
Offline

Joined: 2008-02-18 16:10:43
Posts: 10
Всем хай , у меня есть скрипт на обкаст бот (скрипт который обкастит игроков) вообщем то что мне нужно к нему добавить это чтоб я задавал например стоимость обкаста, к примеру 1к голда , когда ктота ложит на под меня 1к голда то я делаю обкаст тому челу, как это зделать?


Top
   
PostPosted: 2010-09-04 18:09:03 
Offline

Joined: 2008-02-18 16:10:43
Posts: 10
Code:
Sub obkast.do(serial) 
    medit()
   uo.msg("Хуле? Пацанчик свой можно кастить!!")
   arrow1:
   uo.cast('Magic Arrow', serial)
   wait(1000)
   if uo.injournal("Insufficient") then
      reags()
    endif 
      if uo.injournal("fizzles.") or uo.injournal("You've lost") then
      goto arrow1
      endif
      
   bless1:
   uo.cast('Bless', serial)
   wait(3000)
   if uo.injournal("Insufficient") then
      reags()
    endif 
      if uo.injournal("fizzles.") or uo.injournal("You've lost") then
      goto bless1
      endif
      
   strength1:
   uo.cast('Strength', serial)
   wait(3000)
   if uo.injournal("Insufficient") then
      reags()
    endif 
      if uo.injournal("fizzles.") or uo.injournal("You've lost") then
      goto strength1
      endif
      
   agility1:
   uo.cast('Agility', serial)
   wait(3000)
   if uo.injournal("Insufficient") then
      reags()
    endif 
      if uo.injournal("fizzles.") or uo.injournal("You've lost") then
      goto agility1
      endif
      
   cunning1:
   uo.cast('Cunning', serial)
   wait(3000)
   if uo.injournal("Insufficient") then
      reags()
    endif 
      if uo.injournal("fizzles.") or uo.injournal("You've lost") then
      goto cunning1
      endif
      
   protection1:
   uo.cast('Protection', serial)
   wait(5000)
   if uo.injournal("Insufficient") then
      reags()
    endif 
      if uo.injournal("fizzles.") or uo.injournal("You've lost") then
      goto protection1
      endif
   uo.DeleteJournal()
end sub


вот
Это действие скрипта , мне надо чтобы скрипт кастил игрока только тогда когда он даёт мне 1к голда

(чтобы я делал обкаст за 1к голда например)


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 0 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