<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
-- Buy Belts script - V1.0 - written by Jandrana
-- Edited by Eggman1414

nameTable =
{
"Toons Name Goes Here"
}
 counter = 1

 itemName = "Excellent Belt"; 

function buyBelts()
	player:openStore("Nebular Grey-Eye")
	store:buyItem(itemName, 10);
	yrest(1000)
end

function sendBelts()
	local armor=MGbuildItemTableOfType("Armor");
	armor=selectItemsByName(armor, itemName);
	UMM_SendAdvanced(nameTable[counter],getIdsFrom(armor), nil, nil, nil, nil, nil, nil, 10, nil, nil);
	yrest(500);
	sendMacro("CloseAllWindows()");
		counter = counter  + 1;
end
</onLoad>
	<!-- #  1 --><waypoint x="2467" z="48296" y="136">	
		buyBelts();
	</waypoint>
	<!-- #  2 --><waypoint x="2603" z="48202" y="136">	</waypoint>
	<!-- #  3 --><waypoint x="2812" z="48230" y="136">
         if nameTable[counter] == "Last Toons Name" then
		    UMM_SendAdvanced("Last Toons Name",getIdsFrom(armor), nil, nil, nil, nil, nil, nil, 10, nil, nil);
            print("Done mailing.")
			load_paths("pathtosnooplimo.xml")
		else
		sendBelts();
end
	</waypoint>
	<!-- #  4 --><waypoint x="2576" z="48212" y="136">	</waypoint>
	<!-- #  5 --><waypoint x="2471" z="48302" y="136">	
	</waypoint>
</waypoints>