<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL" >
<onLoad>
	--=== Rock5's survivalnext ===--
	--===     Version 1.2      ===--

	--=== User Options ===--
	When_Finished = "charlist"
		-- "end" to end script, "relog" to log next character, "charlist" to log next in 'charlist'.

	CharList = {
					{account=1,chars={1,3}},
					{account=3,chars={1}},
				}
--[[					{account=18,chars={1}},
					{account=13,chars={1}},
					{account=6,chars={1}},
					{account=7,chars={1}},
					{account=8,chars={1}},
		}]]
		-- Character list to use when using the "charlist" option above. Requires my "userfunction_LoginNextChar" userfunction.
		-- Find it here. http://www.solarstrike.net/phpBB3/viewtopic.php?p=10350
		--		eg.
		--		CharList = {
		--			{account=4,chars={}},
		--			{account=8,chars={1}},
		--			{account=7,chars={1,2,5}},
		--		}
	NextFileToLoad = "lyliya" -- File to load after changing character.
	--====================--

	if When_Finished == "relog" then
		sendMacro("}LoginNextToon=true;a={")
		sendMacro("Logout();");
		waitForLoadingScreen();
		loadProfile()
		loadPaths(NextFileToLoad);
	elseif When_Finished == "charlist" then
		SetCharList(CharList)
		LoginNextChar()
		loadProfile()
		loadPaths(NextFileToLoad);
	elseif When_Finished == "end" then
			error("Ending script",2)
	else
		error("'When_Finished' option is invalid",0)
	end
</onLoad>
</waypoints>
