Ok cool.
Sorry, I messed up the control / paste.
End code
M400
M104 T0 S0 ; switch off first nozzle
M104 T1 S0 ; switch off second nozzle
M140 S0 ; heated bed heater off
M107 ; fans off
T0
G92 E0 ; set first extruder to 0
G1 E-3 F300 ; retract a bit to relieve pressure
T1
G92 E0 ; set second extruder to 0
G1 E-3 F300 ; retract a bit to relieve pressure
T0 ; switch back to extruder 1
G1 Z245 F1000 ; move to cooling positioning
G28 X0 Y0 F8000 ; move to cooling positioning
M84 ; steppers off
G90 ; absolute positioning