What is the difference between these two file extensions? Are they both implemented the same way if for example I want a toolbar button to do a certain command?

I set up my first custom toolbar last week and used a mnl file and created a cui file to link a command to a button. Is it the same process for a .lsp file where I have to customize a button and have the macro link to that file?