Code: Select all
if not findalias 'pet1'
headmsg 'Select first pet'
promptalias 'pet1'
endif
if not findalias 'pet2'
headmsg 'Select second pet'
promptalias 'pet2'
endif
if not findalias 'pet3'
headmsg 'Select third pet'
promptalias 'pet3'
endif
if not findalias 'pet4'
headmsg 'Select fourth pet'
promptalias 'pet4'
endif
if not findalias 'pet5'
headmsg 'Select fifth pet'
promptalias 'pet5'
endif
if hits 'pet1' < maxhits 'pet1'
replygump 0x9d402a14 11
waitforgump 2638227988 15000
autotargetobject 'pet1'
pause 2000
endif
if hits 'pet2' < maxhits 'pet2'
replygump 0x9d402a14 11
waitforgump 2638227988 15000
autotargetobject 'pet2'
pause 2000
endif
if hits 'pet3' < maxhits 'pet3'
replygump 0x9d402a14 11
waitforgump 2638227988 15000
autotargetobject 'pet3'
pause 2000
endif
if hits 'pet4' < maxhits 'pet4'
replygump 0x9d402a14 11
waitforgump 2638227988 15000
autotargetobject 'pet4'
pause 2000
endif
if hits 'pet5' < maxhits 'pet5'
replygump 0x9d402a14 11
waitforgump 2638227988 15000
autotargetobject 'pet5'
pause
endif
Edit: I also was wondering if anyone knew the casting time for Touch of Life. My pause needs to be tweaked a bit. I could figure it out, but if anyone knows the exact time, it would help a lot.