| Saveloc.mac v 1 by Maskoi 3/15/2015
Sub Main
/declare i int outer
/for i 1 to 100
/if (!${Ini[Locations.ini,MyLocations,Loc${i}].Length}) {
/ini "Locations.ini" "MyLocations" "Loc${i}" "${Me.Y},${Me.X},${Me.Z}"
/echo Location saved as Loc${i}=${Me.Y},${Me.X},${Me.Z} in Locations.ini files
/end
}
/next i
/return