Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.