Veternary Macro

Posts: 184
Joined: Fri Feb 19, 2016 9:46 pm

Veternary Macro

Postby Tillblik » Mon Mar 14, 2016 1:32 am

Ok here is my a1+ Vetting macro. It's a 2 macro, macro. The second macro is the big on that heals the target you select. The first macro is to set the target into the alias 'pet'
First Macro----------------
unsetalias 'pet'
promptalias 'pet'

Second Macro------------
clearjournal
if diffhits 'pet' > 5
sysmsg "healing pet"
usetype 0xe21
waitfortarget 650
target "pet"
pause 650
if not @injournal 'That is too far away' 'system'
while not dead
if @injournal "You finish applying the bandages" 'system'
replay
endif
if @injournal 'You did not stay close enough to heal your patient!' 'system'
replay
endif
if @injournal 'You heal what little damage your patient had.' 'system'
replay
endif
if @injournal 'You fail to resurrect the creature' 'system'
replay
endif
if @injournal 'You are unable to resurrect your patient' 'system'
replay
endif
if @injournal 'You apply the bandages' 'system'
replay
endif
if @injournal 'You are able to resurrect your patient.' 'system'
replay
endif
if @injournal 'That is too far away' 'system'
replay
endif
if @injournal 'That being is not damaged' 'system'
replay
endif
endwhile
stop
endif
clearjournal
else
//sysmsg "pet not damaged"
pause 1000
endif

//fixed a couple bugs with this...
Last edited by Tillblik on Sun Jan 15, 2017 8:11 pm, edited 1 time in total.

Posts: 184
Joined: Fri Feb 19, 2016 9:46 pm

Re: Veternary Macro

Postby Tillblik » Mon Mar 14, 2016 1:36 am

The second macro is meant to be looped.


Return to Macros

Who is online

Users browsing this forum: No registered users and 1 guest

cron