<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onLoad>

-- Interface		
	printf("\n \n TOS \n \n")

		changeProfileOption("COMBAT_DISTANCE", 0);
		changeProfileOption("AUTO_ELITE_FACTOR", 2500);
		SlashCommand("aid easy");
		useHousemaidPotions("scarlet");
		changeProfileOption("LOOT_SIGILS", "true");
		include( "/userfunctions/userfunction_speedhack.lua")
</onLoad>


	<!-- #  Start -->
	<!-- #  1 --><waypoint x="1870" z="1885" y="274" tag="Start"> __WPL:setForcedWaypointType("TRAVEL");changeProfileOption("COMBAT_DISTANCE", 0);
	printf("I N D U L O K\n");
	yrest(100);
	if RoMScript("UnitExists('party1')") then
			sendMacro("LeaveParty()")
			player:rest(1)
	end;
	repeat
	if     player.Name=="ZZZzzzzZZZZ"		then RoMScript("InviteByName('YYYYYyyyyYYYYY');")
	elseif player.Name=="XXXX" 		then RoMScript("InviteByName('AltXXX');")
	end;
	yrest(100);
	SlashCommand("aid easy");
	yrest(500);
	until RoMScript("UnitExists('party1')")
	</waypoint>
	<!-- #  2 --><waypoint x="1933" z="1905" y="305"> __WPL:setForcedWaypointType("TRAVEL"); keyboardPress(key.VK_8); </waypoint>
	<!-- #  3 --><waypoint x="1990" z="1931" y="314"> keyboardPress(key.VK_SPACE);--port
	yrest(1000);
	 waitForLoadingScreen(10); 
	 player:update();
	local zoneid = RoMScript("GetZoneID()");    
	printf(" .. We are in : %s \n", zoneid);
	if zoneid == 189 then
		__WPL:setWaypointIndex(__WPL:findWaypointTag("TOS"));
	elseif zoneid == 3037 then
		__WPL:setWaypointIndex(__WPL:findWaypointTag("Start"));
	end;
	</waypoint>
	<!-- # 4 --><waypoint x="-678" z="582" y="426" tag="TOS"> changeProfileOption("COMBAT_DISTANCE", 200); keyboardPress(key.VK_9); speed(true);</waypoint>
	<!-- # 5 --><waypoint x="-644" z="618" y="426"> __WPL:setForcedWaypointType("TRAVEL") </waypoint>
	<!-- # 6 --><waypoint x="-601" z="654" y="426"> __WPL:setForcedWaypointType("NORMAL") </waypoint>
	<!-- # 7 --><waypoint x="-517" z="771" y="426"> __WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 8 --><waypoint x="-517" z="847" y="426"> __WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 9 --><waypoint x="-548" z="934" y="426"> __WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 10 --><waypoint x="-604" z="955" y="426"> __WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 11 --><waypoint x="-677" z="965" y="426"> __WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 12 --><waypoint x="-766" z="964" y="426"> __WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 13 --><waypoint x="-828" z="897" y="426"> __WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 14 --><waypoint x="-829" z="767" y="426"> __WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 15 --><waypoint x="-795" z="693" y="426"> __WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 16 --><waypoint x="-730" z="636" y="426"> __WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 17 --><waypoint x="-683" z="595" y="426"> __WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 18 --><waypoint x="-683" z="535" y="426"> changeProfileOption("COMBAT_DISTANCE", 0);	</waypoint>
	<!-- # 19 --><waypoint x="-681" z="485" y="429"> __WPL:setForcedWaypointType("TRAVEL"); --port
	yrest(1000);
	 waitForLoadingScreen(10);
	player:update();
	local zoneid = RoMScript("GetZoneID()");    
	printf(" .. We are in : %s \n", zoneid);
	if zoneid == 3037 then
		__WPL:setWaypointIndex(__WPL:findWaypointTag("Start"));
	elseif zoneid == 189 then
		__WPL:setWaypointIndex(__WPL:findWaypointTag("TOS"));
	end; 
	 </waypoint>
	<!-- # 20 --><waypoint x="1870" z="1887" y="274"> __WPL:setForcedWaypointType("TRAVEL");yrest	(1000);__WPL:setWaypointIndex(__WPL:findWaypointTag("Start"));speed(false); </waypoint>
</waypoints>