Max number of commands doubt

What is the maximum number of commands for a mission while using ArduCopter and Cube orange?

Approximately 700 waypoints.

I saw in the code a comment saying for pixhawk and copter would be 718, but I was not sure if it was also valid for cube orange

Remains the same for the Cube.

Lua scripting can be leveraged to load consecutive missions if you need more flexibility.

Cube orange only accepts lua scripts, right?Not other languages like python?

Correct. It’s baked into ArduPilot firmware for capable autopilots like the Cube Orange.