Mist is M7, Flood M8 and switch either off is M9.
To set up go to Config, Ports and Pins, OutPuts and choose an output you are not currently using and set the port and pin number, next go to the Spindle Setup tab and enable the Flood/Mist relays option and enter the output number you have just set up into the M7 or M8 (or both if you want) and thats it.
Hood