Difference between revisions of "$script"
From Scriptwiki
m (forgot category) |
m |
||
Line 1: | Line 1: | ||
− | Returns the | + | Returns the full file path of the currently executing remote script. |
$script | $script | ||
Line 6: | Line 6: | ||
[[echo]] -ag We're running from script file $script | [[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 == | == See Also == | ||
− | * [[$scriptline]] Returns the current script line. | + | * [[$scriptline]] - Returns the current script line. |
− | * [[$scriptdir]] Returns the directory the current script is saved. | + | * [[$scriptdir]] - Returns the directory the current script is saved. |
[[Category:Remote Identifiers]] | [[Category:Remote Identifiers]] |
Revision as of 16:26, 5 November 2010
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.