Ah, ok. Well, a short description what it does can be found in Photoshop Help-> About Plugins -> Layer to Channels or in the Script Events Manager when selecting it:
"Creates channels from selected layers (e.g. render masks) and removes them. Creates separate channels for R/G/B if they are not equal."
Oops, just corrected a typo and replaced the zip. So have fun and
Good Luck