No problem, I'm sorry I didn't notice your previous post.
Exporting an Avalon Slave interface of a dual port memory is fine, that's a good idea I haven't thought about. As long as you get the subset of Avalon signals you want there's no problem about it.
The TCL script, when put in your Qsys folder, should be listed on the left side panel (library). It should be the first one listed. Remember to rename from .tcl.txt to .tcl and, if you're not using Quartus 13.1, please comment out the first line (package require -exact qsys 13.1). If you put the file there with Qsys running you have to refresh (F5) so it will appear in the library, otherwise it will be read when Qsys loads.