$script

From Scriptwiki
Revision as of 17:26, 5 November 2010 by Daveoh (talk | contribs)

Jump to: navigation, search

Returns the full file path of the currently executing remote script.

$script

Example

alias hello {
  echo -ag We're running from script file $script
}

This may return something like:

We're running from script file C:\Users\Dana\AppData\Roaming\mIRC\scripts\remote.ini

See Also

  • $scriptline - Returns the current script line.
  • $scriptdir - Returns the directory the current script is saved.