Проблема с хоткейс помагите
Moderators: Murderator+, Murderator
Проблема с хоткейс помагите
у меня такая проблема в хот кейс важу каманду скрипта забиваю на кнопку но он почемута пишит такой команды не сушествует в чём можэт быть проблема плиз хелп
-
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
вот скрипт и каманду я важу sGreatHeal но почемуто не работает
####################################################################
sub sGreatHeal() ; гх со скрола
var sGreatHeal = "0x1f49" ; Тип гх скрола
if (uo.count(sGreatHeal)<1) then
uo.print ("ГХ Кончились!")
end if
if uo.mana<10 then
uo.print ("Пиздец маны нет!!")
end if
if uo.waiting() then
uo.canceltarget()
endif
if uo.count(sGreatHeal)<>0 then
uo.waittargetself()
uo.usetype(sGreatHeal)
else
uo.print ("Скролов нет, каст с книги")
uo.waittargetself()
uo.cast('Greater Heal')
MesReact()
if uo.waiting() then
uo.canceltarget()
endif
endif
uo.print("ГХ "+str(uo.count(sGreatHeal)))
endsub
#####################################################################
####################################################################
sub sGreatHeal() ; гх со скрола
var sGreatHeal = "0x1f49" ; Тип гх скрола
if (uo.count(sGreatHeal)<1) then
uo.print ("ГХ Кончились!")
end if
if uo.mana<10 then
uo.print ("Пиздец маны нет!!")
end if
if uo.waiting() then
uo.canceltarget()
endif
if uo.count(sGreatHeal)<>0 then
uo.waittargetself()
uo.usetype(sGreatHeal)
else
uo.print ("Скролов нет, каст с книги")
uo.waittargetself()
uo.cast('Greater Heal')
MesReact()
if uo.waiting() then
uo.canceltarget()
endif
endif
uo.print("ГХ "+str(uo.count(sGreatHeal)))
endsub
#####################################################################
надо на кнопку биндить
Code: Select all
exec sGreatHeal