<?xml version="1.0" encoding="utf-8"?><waypoints type="RUN">
<onLoad>
--Prayer Altar id: 120154
--Rune id : 120157

while true do
	altar=player:findNearestNameOrId(120154)
	rune=player:findNearestNameOrId(120157)
	if rune~=nil then
		teleport(rune.X, rune.Z)
		player:target(rune)
		for i=1,2 do
			Attack();yrest(5);
		end
		if sendMacro("ExtraActionBarFrame:IsVisible()") then
			repeat
				player:update();
				player:target(altar);
				Attack();
				dist = distance(altar.X,altar.Z,player.X,player.Z);
			until 70>=dist;
			sendMacro("MoveForwardStop()");
			repeat
				RoMScript("UseExtraAction(1)")
				extra=sendMacro("ExtraActionBarFrame:IsVisible()")
			until extra==false;
		end
	end
	altar=nil
	rune=nil
	player:update()
end
</onLoad>
</waypoints>