Create a list of what?
As I understood your original post, you were looking for a way to handle the fact that channels listed for a person when you /whois them contain prefixes. The script I wrote handles that problem so that you can join the channel by double clicking on it.