How about this:
allows for multiple selected files.
command is executed on every file selected, like in $findfile.
in the command you could use '$numfile' to get the total number of selected files.
the return value would be the total number of selected files.
(note that you can only use this if you specify title and oktext)