Помогите со скриптом

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
MR.Killer
Posts: 4
Joined: 2005-08-22 14:13:53

Помогите со скриптом

Post by MR.Killer »

Не говорит стоп

Code: Select all

sub main() 
var x
var s
UO.addtype('bint','0x0E21')
UO.addtype('bintG','0x0E20')
UO.addobject('hors1','0x00A3E886')
UO.addobject('hors2','0x00A38B14')


start:
if UO.GetQuantity('^bint')<100 then
UO.moveitem('~bint','50')
wait(1500)
end if
if UO.GetQuantity('^bintG')>249 then
uo.drophere('^bintG')
wait(1500)
end if
UO.WaitTargetObject('hors1')
uo.sayu("all kill")
wait(3000)
s=0
UO.DeleteJournal()
wait(100)
while not UO.InJournal("mummy")
if s>1 then
uo.sayu("all stay")
wait(1500)
s=0
end if
UO.DeleteJournal()
wait(100)
UO.WaitTargetObject('hors1')
UO.Usetype('bint') ;aeiou
wait(2000)
x=0
while not UO.InJournal("apply") and not UO.InJournal("mummy") and x<10
wait(500)
x=x+1
s=s+0.5
wend
Wend

UO.WaitTargetObject('hors1')
uo.sayu("all kill")
wait(3000)
s=0
UO.DeleteJournal()
wait(100)
while not UO.InJournal("mummy")
if s>1 then
uo.sayu("all stay")
wait(1500)
s=0
end if
UO.DeleteJournal()
wait(100)
UO.WaitTargetObject('hors2')
UO.Usetype('bint') ;aeiou
wait(2000)
x=0
while not UO.InJournal("apply") and not UO.InJournal("mummy") and x<10
wait(500)
x=x+1
s=s+0.5
wend
Wend
goto start

end sub
NiFiGaSebe
Posts: 34
Joined: 2005-05-26 22:08:18
Contact:

Post by NiFiGaSebe »

как говорится телепаты в отпуске)
MR.Killer
Posts: 4
Joined: 2005-08-22 14:13:53

Post by MR.Killer »

Яж написал что он не говорит стоп или что надо добавить чтоб он животных тормозил если у одной из них меньше половины хп а когда вылечил сказал алл килл и т.д
Laden
Posts: 36
Joined: 2007-05-03 12:51:55

Post by Laden »

Code: Select all

uo.sayu("all stay")


И что значит эта строчка? Правильно, сказать all STAY.. а нам что надо.. стоп?. ну и замени stay на stop...
MR.Killer
Posts: 4
Joined: 2005-08-22 14:13:53

Post by MR.Killer »

я уже и так и так менял он или все время говорит стом или вообще не говорит
MR.Killer
Posts: 4
Joined: 2005-08-22 14:13:53

Post by MR.Killer »

блин ну кионить поможите
Post Reply