$script/$scriptline would return the filename/line of the /msg alias itself. The OP wants the location of the command that called that /msg alias, which is not possible to retrieve currently.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com