Looking for a Script

Good evening and a very Happy New Year to all,
I have a request, I have built a 3D printer with 2 extruders, 2 Nozzles, I would like to clean nozzles during the print when tool change takes place, for example the Nozzles 2 (Right one) is printing the Build Plate, when it changes to Nozzle 1 (Left one) the Carriage goes to the far left to clean itself and when it is back (the Carriage) Nozzle 1 continues printing the actual part and when it changes to Nozzle 2 to print the supports the Nozzle 1 goes to the far right and clean itself and when it is back (the Carriage) Nozzle 2 continues printing, so on and so forth.

I would appreciate if some one could get me out my miseries please.
Cheers
Siamak

P.S I am using Creality V2.2 Mother board if that helps at all