The extruders are all over the code. It would be easier to add a gcode or modify a gcode with an argument. Have you looked at the code for gcodes M42, M43, G4?
1 Like
Couldn’t figure out how to use those, but found M226.