Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kedyn/simplejscript
Allows execution of JScript using MSScriptControl.ScriptControl com objects.
https://github.com/kedyn/simplejscript
Last synced: 30 days ago
JSON representation
Allows execution of JScript using MSScriptControl.ScriptControl com objects.
- Host: GitHub
- URL: https://github.com/kedyn/simplejscript
- Owner: Kedyn
- License: mit
- Created: 2020-01-25T08:18:26.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-18T05:11:23.000Z (almost 5 years ago)
- Last Synced: 2024-11-07T13:56:08.137Z (3 months ago)
- Language: mIRC Script
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# SimpleJScripts
Allows execution of JScript using MSScriptControl.ScriptControl/Tablacus.ScriptControl com objects.
## Installation
Load `SimpleJScript.mrc` located in the root folder onto mIRC/AdiIRC.
**Notes:**
_If you are utilizing AdiIRC 64bit, you can download the [tsc64_1101.cab](https://github.com/tablacus/TablacusScriptControl/releases/tag/1.1.0.1) asset, extract, and run setup.exe. By doing so the script will fallback into utilizing Tablacus.ScriptControl._
## Usage
### Identifier \$jsCreate
```mirc-script
$jsCreate(name)
```Creates a container where all JScript code will be held.
Returns 1 if success, 0 otherwise.
### Identifer \$jsAddCode
```mirc-script
$jsAddCode(name,code)
```Adds code to a container.
Return 1 if success, 0 otherwise.
### Identifier \$jsEvaluate
```mirc-script
$jsEvaluate(name,code)
```Evaluates code.
Returns the result.
### Identifier \$jsExecute
```mirc-script
$jsExecute(name,code)
```Executes code.
Return 1 if success, 0 otherwise.
### Identifer \$jsDestroy
```mirc-script
$jsDestroy(name)
```Removes everything from a JScript script and closes it.
Return 1 if success, 0 otherwise.
## Acknowledgements
- [SReject](https://github.com/SReject) - *Adding suport for AdiIRC.*
## License
This project is made available under the [MIT](https://choosealicense.com/licenses/mit/) License.
## Changelog
If you would like to see our changelog please read our [CHANGELOG.md](./CHANGELOG.md) file.