Add code to function

Discussion created by archymag on Jun 30, 2011
Latest reply on Jul 8, 2011 by JNery-esristaff
I need to add someone else's code. I do not understand it.
It looks for the layers by clicking the mouse.
The function should return a list of found by clicking the layers, but it was not written until the end, a corresponding entry, please.

Thanks. I did it by my self.