ruben, to clarify -- there are usually 3 files involved in a 'script'
1. scripts/coolthingie.inc.php
2. templates/default/coolthingie.tpl
3. languages/english/coolthingie.php
so yes, 'the file' is in the scripts, but to truly be a full sample, it should include all 3..
then this could be called by yourforum/url/to/forum/ubbthreads.php?ubb=coolthingie