Page 1 of 1

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

Posted: 2007-06-29 23:43:12
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

Posted: 2007-06-29 23:49:26
by NiFiGaSebe
как говорится телепаты в отпуске)

Posted: 2007-06-29 23:55:28
by MR.Killer
Яж написал что он не говорит стоп или что надо добавить чтоб он животных тормозил если у одной из них меньше половины хп а когда вылечил сказал алл килл и т.д

Posted: 2007-06-30 08:48:28
by Laden

Code: Select all

uo.sayu("all stay")


И что значит эта строчка? Правильно, сказать all STAY.. а нам что надо.. стоп?. ну и замени stay на stop...

Posted: 2007-06-30 09:01:36
by MR.Killer
я уже и так и так менял он или все время говорит стом или вообще не говорит

Posted: 2007-06-30 17:17:50
by MR.Killer
блин ну кионить поможите