GetCartRoutes
Every route - from the file, the admins’ /cartroute and the mode’s own.
Syntax
Section titled “Syntax”GetCartRoutes()Returns
Section titled “Returns”table - a list of routes as AddCartRoute takes them (with every point’s z filled in; parts the slots the route names)
Example
Section titled “Example”for _, route in ipairs(GetCartRoutes()) do Log(string.format("%s: %d points, %d stops, %s", route.name, #route.points, #route.stops, route.mode))endSee also
Section titled “See also”AddCartRoute · GetCartRoute · the Carts group of the index
