Помогите немнога

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
nortex2
Posts: 10
Joined: 2008-02-18 16:10:43

Помогите немнога

Post by nortex2 »

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

Re: Помогите немнога

Post by nortex2 »

Code: Select all

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к голда например)
Post Reply