That would return the currently executing script (the MSG alias), the OP wants the name and line number of the script that called the MSG alias, which is currently not possible.

~ Edit ~

Why not $nopath($script) ?