Quote:
$script would return the filename... The OP wants the location of the command that called that /msg alias...


So: $remove($script,$scriptdir) returns the location (script1.ini)