unfortunately $ini() is one of those identifiers that accepts 'N/name', but /play -t only accepts a name :P i would suggest using /play directly and just trapping any errors, saves mIRC having to access the file multiple times in the successful case:
play -t $+ %x # %f
return
:error
if (? /play: unable to open * iswm $error) {
reseterror
; file not found
}
elseif (? /play: topic ?& not found * iswm $error) {
reseterror
; topic not found
}