this is findfile but this is what i use for example to list all my mp3s to the channel:

on flame:TEXT:`listmp3:#:{
$findfile($mircdir,*.mp3,0,msg # $nopath($1-))
}