...
This command enables you to query Shogun query Shogun Post's internal list of scripts to see whether a particular script exists. This may be useful if you are trying to construct a set of smart scripts which call other scripts based on their existence.
...
Scroll tablelayout | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Returns true if a script with the given name exists in Shogun in Shogun Post's internal list of scripts.
Scroll pagebreak |
---|
Examples
...
// See if the CutKeysBigRanges script exists in our script directories.
...
//If not don't call the script that relies on it.
...
if( `scriptExists "CutKeysBigRanges` == true )
...
{
...
ScriptThatCallsCutKeysBigRanges;
...
}
Additional information
Related commands
...