Допишите плиз скриптик...
Posted: 2006-07-20 14:04:45
Нашол тут на форуме этот скрипт, он ищет гостов в 10 тайлах, если
находит и это согильдиец ресает
Можете сделать чтобы он ресал не согильдийца а определенного чара,которога я сам задам , указав его ID
И такойже токо с бинта ресает...
находит и это согильдиец ресает
Можете сделать чтобы он ресал не согильдийца а определенного чара,которога я сам задам , указав его ID
Code: Select all
sub ressguild()
var dl=0, ok=0
uo.DeleteJournal()
UO.Set('finddistance','10')
uo.ignorereset()
uo.ignore('self')
repeat
uo.findtype('0x0192',-1,'ground')
if uo.findcount() then
uo.click('finditem')
checklag()
if UO.JournalColor(UO.InJournal()+1)=='0x0044' then
uo.DeleteJournal()
uo.cast('Resurrection','finditem')
uo.print('cast to: '+uo.getname('finditem'))
uo.DeleteJournal()
ok=1
else
uo.ignore('finditem')
uo.DeleteJournal()
end if
end if
until uo.dead() or ok==1 or uo.findcount()==0 or dl==10
end sub
И такойже токо с бинта ресает...
Code: Select all
sub autoress()
uo.ignorereset()
uo.print('autoRess Started')
uo.DeleteJournal()
UO.Set('finddistance','2')
repeat
uo.findtype('0x2006',-1,'ground')
if uo.findcount() then
uo.click('finditem')
checklag()
if UO.InJournal('of') and UO.JournalColor(UO.InJournal()+1)=='0x0044' then
uo.DeleteJournal()
uo.waittargetobject('finditem')
uo.usetype('0x0E21')
uo.print(uo.getname('finditem')+' will be resurrecting')
uo.ignore('finditem')
uo.DeleteJournal()
else
uo.Print(uo.getname('finditem')+' (color: '+UO.JournalColor(UO.InJournal()+1)+')'+' is not guild member')
uo.ignore('finditem')
uo.DeleteJournal()
end if
end if
wait(500)
until uo.dead()
end sub