Script to prime both extruders?

What script can i use to make both extruders extrude some plastic at the start before the print?

can someone tell me why this script is only primint 1 extruder?

G28 ; home all
T0 ; Activate T0
G1 E12 F225
T1 ; activate T1
G1 E12 F225
T0 ; Activate T0
M218 T1 X-23.9 Y0.2;