Сорри что не написал всё в одном посте... просто этот скрипт очень длинный... Я думаю этот скрипт уже многим извесетн

это скрипт на пракачку вар скиллов с помощью Мишек

в нём мне тоже нужна ваша помощь...! Во-первых нужно чтобы скрипт после каста одевал оружие и щит... как в sub Sword что в первом посте... + ещё нужно чтоб мишку он кастовал перед сабой... так как у нас нельзя кастовать суммон на себя

. Возможно ли это как-то переделать ???? За ранее за всё БОЛЬШОЕ ЧЕЛАВЕЧЕСКОЕ СПАСИБО!!!
ой тока вспомнил... он же там ещё и лечиться... после лечения нужно тоже чтоб он одевал щит и вэп! Большое Спасибо!
sub battle()
var Mana
var LastTimer
UO.CancelMenu()
UO.DeleteJournal()
UO.AutoMenu('What','Polar')
while NOT UO.Dead()
UO.DeleteJournal()
if UO.Life<UO.Str then
repeat
UO.Bandageself()
wait(5000)
until UO.Life==UO.Str
endif
UO.Arm('arm')
repeat
UO.DeleteJournal()
If UO.Mana<20 then
uo.deletejournal()
repeat
wait(1000)
until UO.Mana>20
endif
UO.WaitTargetSelf()
UO.Cast('Summ. Crea')
Mana=UO.Mana
repeat
wait(1000)
until Mana>UO.Mana
until NOT UO.InJournal('fizzles')
UO.Msg('Fight')
repeat
wait(1000)
UO.findtype('0x00d5','0x08FD','ground')
until uo.FindCount()>0
LastTimer=Uo.Timer()
repeat
wait(1000)
UO.Attack('finditem')
walkN('0','0','finditem')
UO.findtype('0x00d5','0x08FD','ground')
until uo.FindCount()==0 or UO.Timer()==LastTimer+600
wend
end sub
sub WalkN(x,y,Target)
VAR i,StepSucess
VAR dx,dy,Exit=0
While Exit<>1
If Target<>"" Then
dx=UO.GetX(Target)-UO.GetX()
dy=UO.GetY(Target)-UO.GetY()
; UO.Print("Target locked!")
If UO.GetDistance(Target)<2 Then
Exit=1
Endif
Else
dx=x-UO.GetX()
dy=y-UO.GetY()
If dx==0 AND dy==0 Then
Exit=1
Endif
Endif
If dx<>0 AND dy<>0 Then
If dx>0 AND dy>0 Then
StepSucess=Go(3,40,300) ;SE - DownArrow
If StepSucess==-1 Then
StepSucess=Go(7,38,300) ;WN - UpArrow
StepSucess=Go(1,39,300) ;NE - RightArrow
If StepSucess==-1 Then
StepSucess=Go(5,37,300) ;SW - LeftArrow
Endif
Endif
Endif
If dx>0 AND dy<0 Then
StepSucess=Go(1,39,300) ;NE - RightArrow
If StepSucess==-1 Then
StepSucess=Go(5,37,300) ;SW - LeftArrow
StepSucess=Go(3,40,300) ;SE - DownArrow
If StepSucess==-1 Then
StepSucess=Go(7,38,300) ;WN - UpArrow
Endif
Endif
Endif
If dx<0 AND dy>0 Then
StepSucess=Go(5,37,300) ;SW - LeftArrow
If StepSucess==-1 Then
StepSucess=Go(1,39,300) ;NE - RightArrow
StepSucess=Go(7,38,300) ;WN - UpArrow
If StepSucess==-1 Then
StepSucess=Go(3,40,300) ;SE - DownArrow
Endif
Endif
Endif
If dx<0 AND dy<0 Then
StepSucess=Go(7,38,300) ;WN - UpArrow
If StepSucess==-1 Then
StepSucess=Go(3,40,300) ;SE - DownArrow
StepSucess=Go(5,37,300) ;SW - LeftArrow
If StepSucess==-1 Then
StepSucess=Go(1,39,300) ;NE - RightArrow
Endif
Endif
Endif
Endif
If dx<>0 AND dy==0 Then
If dx>0 Then
StepSucess=Go(2,34,300) ;E - PgDown
If StepSucess==-1 Then
StepSucess=Go(3,40,300) ;SE - DownArrow
If StepSucess==-1 Then
StepSucess=Go(1,39,300) ;NE - RightArrow
Endif
StepSucess=Go(2,34,300) ;E - PgDown
Endif
Endif
If dx<0 Then
StepSucess=Go(6,36,300) ;W - Home
If StepSucess==-1 Then
StepSucess=Go(7,38,300) ;WN - UpArrow
If StepSucess==-1 Then
StepSucess=Go(5,37,300) ;SW - LeftArrow
Endif
StepSucess=Go(6,36,300) ;W - Home
Endif
Endif
Endif
If dx==0 AND dy<>0 Then
If dy>0 Then
StepSucess=Go(4,35,300) ;S - End
If StepSucess==-1 Then
StepSucess=Go(3,40,300) ;SE - DownArrow
If StepSucess==-1 Then
StepSucess=Go(5,37,300) ;SW - LeftArrow
Endif
StepSucess=Go(4,35,300) ;S - End
Endif
Endif
If dy<0 Then
StepSucess=Go(0,33,300) ;N - PgUp
If StepSucess==-1 Then
StepSucess=Go(1,39,300) ;NE - RightArrow
If StepSucess==-1 Then
StepSucess=Go(7,38,300) ;WN - UpArrow
Endif
StepSucess=Go(0,33,300) ;N - PgUp
Endif
Endif
Endif
Wend
end sub
sub Go(dir,key,walkwait)
VAR x,y, OldDir
x=UO.GetX()
y=UO.GetY()
OldDir=UO.GetDir()
If UO.GetDir()<>dir Then
UO.Press(key)
wait(walkwait)
If UO.GetDir()<>dir Then
Endif
Endif
UO.Press(key)
wait(walkwait)
If x==UO.GetX() AND y==UO.GetY() Then
Endif
If x==UO.GetX() AND y==UO.GetY() AND OldDir<>UO.GetDir() Then
UO.Press(key)
wait(walkwait)
Endif
If x==UO.GetX() AND y==UO.GetY() Then
Endif
end sub