The plugin scripts could use a couple of extra variables to be even more useful: SCRIPT and SCRIPT_DIR. The former is the absolute path to the script we're currently executing and the latter is the folder it's in (to make it easy to get to support files in the same folder).
The plugin scripts could use a couple of extra variables to be even more useful:
SCRIPT
andSCRIPT_DIR
. The former is the absolute path to the script we're currently executing and the latter is the folder it's in (to make it easy to get to support files in the same folder).