> For the complete documentation index, see [llms.txt](https://inspinia-technology.gitbook.io/skyplatform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://inspinia-technology.gitbook.io/skyplatform/skyplatform-technical-user-documentation/plugins/scripts.md).

# SCRIPTS

<table><thead><tr><th width="128">Plugin</th><th width="148">Name</th><th>Description</th></tr></thead><tbody><tr><td><img src="/files/9Yd8u8T79FxBgyCUIjoo" alt="" data-size="original"></td><td><strong>Counter JS</strong></td><td><strong>The</strong> <strong>Counter JS</strong> increments the count and writes the updated value to the output each time it receives a signal from the <strong>Increase</strong> input. Conversely, it decrements the count when it receives a signal from the <strong>Decrease</strong> input. The count is reset to its initial value when a signal is received from the <strong>Reset</strong> input.</td></tr><tr><td><img src="/files/7YBoIp4LXMUNhrVji3c9" alt="" data-size="original"></td><td><strong>Thermostat Lock</strong></td><td><p><strong>The</strong> <strong>Thermostat Lock</strong> is used to lock specific functions during VRF control. It can lock the On/Off, Mode, Set Temperature, Fan Speed, and Swing positions defined within the object for a specified time interval or continuously (similar to a scenario). The lock can be activated or deactivated as needed.</p><p>Additionally, if you want to change the values for Set Temperature, Mode, On/Off, Fan Speed, and Swing, the <strong>Lock</strong> inputs (such as <strong>Lock Set</strong> and <strong>Lock Mode</strong>) can be utilized. These inputs allow for adjustments to these controls without needing to enter the object and manually change the settings each time.</p></td></tr><tr><td><img src="/files/5nDmfCCGmOKqK7qrw6qV" alt="" data-size="original"></td><td><strong>JS Plugin</strong></td><td><strong>The</strong> <strong>JS Plugin</strong> is a block that allows you to create and execute JavaScript code within the project. This is particularly useful when the existing objects in the project do not meet specific requirements, as it enables you to create custom objects or functionalities tailored to your needs using JavaScript.</td></tr><tr><td><img src="/files/XhR7Dhw9YCTAySlqzAfb" alt="" data-size="original"></td><td><strong>T-Off</strong></td><td><strong>The T-Off</strong> outputs the data after a specified time "t," it inverts the input data by 1 bit. 1 turns to 0 after "t" time, and 0 turns to 1 after "t" time.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://inspinia-technology.gitbook.io/skyplatform/skyplatform-technical-user-documentation/plugins/scripts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
