Discordance macro updated
Posted: October 17th, 2016, 3:22 pm
This is a macro that I crafted, basically it asks for target to discord, it will follow until that target has been discorded then ask for new target:
Code: Select all
if injournal 'That creature is already in discord'
clearjournal
unsetalias 'todiscord'
else
if not findalias 'todiscord'
sysmsg 'Target an todiscord'
promptalias 'todiscord'
endif
useskill 'Discordance'
waitfortarget 10000
target! 'todiscord'
while not inrange 'todiscord' 2
if @x 'todiscord' > x 'self' and @y 'todiscord' > y 'self'
walk 'Southeast'
elseif @x 'todiscord' < x 'self' and @y 'todiscord' > y 'self'
walk 'Southwest'
elseif @x 'todiscord' > x 'self' and @y 'todiscord' < y 'self'
walk 'Northeast'
elseif @x 'todiscord' < x 'self' and @y 'todiscord' < y 'self'
walk 'Northwest'
elseif @x 'todiscord' > x 'self' and @y 'todiscord' == y 'self'
walk 'East'
elseif @x 'todiscord' < x 'self' and @y 'todiscord' == y 'self'
walk 'West'
elseif @x 'todiscord' == x 'self' and @y 'todiscord' > y 'self'
walk 'South'
elseif @x 'todiscord' == x 'self' and @y 'todiscord' < y 'self'
walk 'North'
endif
endwhile
pause 500
endif