> ## Documentation Index
> Fetch the complete documentation index at: https://eco-804c21df.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Misc Functions

> Miscellaneous functions, no relations.

### Spy Remote

```lua theme={null}
spyremote(Remote: Instance, Callback: () -> ()) : () <void>
```

<Info>
  spyremote, spyr
</Info>

<Note>
  This function does not stop the `Remote` from getting its args sent to the server. Nor does hook the metamethod `FireServer`. The only downside of this function is that the `RemoteFunction` cannot be used on this.
</Note>

<Warning>
  **Eco Executor** exclusive.
</Warning>

Spy the `Remote`'s `FireServer` method. Any args sent to the method will also get sent to the `Callback`.

### Stop Spy Remote

```lua theme={null}
stopspyremote(Remote: Instance) : () <void>
```

<Info>
  stopspyremote, stopspyr
</Info>

<Warning>
  **Eco Executor** exclusive.
</Warning>

Stop spying on the `Remote`'s `FireServer` method. Any args sent to the method will no longer get sent to the given Callback.

### Is Remote Spied

```lua theme={null}
isremotespied(Remote: Instance) : bool <boolean>
```

<Info>
  isremotespied, isrspied
</Info>

<Warning>
  **Eco Executor** exclusive.
</Warning>

Checks if the given `Remote` has been spied on or not, then returns a boolean.

### Get Spied

```lua theme={null}
getspied() : SpiedRemotes <table>
```

<Info>
  getspied, spiedremotes
</Info>

<Warning>
  **Eco Executor** exclusive.
</Warning>

Returns a table containing remotes that have been spied.

### Messagebox

```lua theme={null}
messagebox(Content: string, Style: number, Callback?: () -> ()) : RBXScriptSignal | RBXScriptConnection <Object>
```

<Info>
  messagebox
</Info>

<Tip>
  If the `Callback` is empty, the function will return **RBXScriptSignal** instead, so the user can connect it later. The **RBXScriptSignal** also contains 3 functions and 2 more members, other than `Connect` (`Fire`, `Enable`, `Disable` | `State`, `Function`)
</Tip>

<Warning>
  **Eco Executor** exclusive.
</Warning>

Creates a message box for the user to interact with/give a response to. If so, the `Callback` will be called and passed down the action (string) of what the user did.

* `Fire`: Fires the signal to call the `Callback` and pass any given arg to    the`Callback`.
* `Enable`: Allows itself to use `Fire`.
* `Disable`: Disallows itself from using `Fire`.
* `State`: The state of the connection.
* `Function`: The `Callback` That was assigned to the Connection.

### Messagebox Async

```lua theme={null}
messageboxasync(Content: string, Style: number) : Action <string>
```

<Info>
  messageboxasync
</Info>

<Warning>
  * **Eco Executor** exclusive.
  * This function yields.
</Warning>

Creates a message box for the user to interact with/give a response to. If so, the action will return it as a string.

### Info

```lua theme={null}
info(...: any) : () <void>
```

<Info>
  info, coutput
</Info>

<Note>
  This function uses **Roblox** TestService.
</Note>

This acts like a `print` function, but the text was colored in blue.

### Run On Actor

```lua theme={null}
run_on_actor(actor: Actor, source: string) : Any <any>
```

<Info>
  run\_on\_actor
</Info>

Not much difference from `protectfunction`, the arg `actor` was needed, but later on it was useless.

### Get Identity

```lua theme={null}
getidentity() : Identity <number>
```

<Info>
  getidentity, getthreadidentity, get\_thread\_identity, getcontext, getthreadcontext, get\_thread\_context
</Info>

Returns the current identity of the environment.

### ~~Queue On Teleport~~

```lua theme={null}
queue_on_teleport(Source: string) : () <void>
```

<Info>
  queue\_on\_teleport, queueonteleport
</Info>

<Warning>
  * Deprecated.
  * This function will get changed soon.
</Warning>

No description.

### ~~Clear Teleport Queue~~

```lua theme={null}
clear_teleport_queue(...: any) : () <void>
```

<Info>
  clear\_teleport\_queue, clearteleportqueue
</Info>

<Warning>
  * Deprecated.
  * This function will get changed soon.
</Warning>

No description.

### Get Executor Info

```lua theme={null}
getexecutorinfo() : {[string]: any} <table>
```

<Info>
  getexecutorinfo
</Info>

<Warning>
  **Eco Executor** exclusive.
</Warning>

Returns a table containing **Eco Executor** info.

### Get API Info

```lua theme={null}
getapi_info() : {[string] : any} <table>
```

<Info>
  getapi\_info
</Info>

<Warning>
  **Eco Executor** exclusive.
</Warning>

Returns a table containing **eAPI** info.

### Identify Executor

```lua theme={null}
identifyexecutor() : ExecutorName <string>
```

<Info>
  identifyexecutor, getexecutorname
</Info>

Returns the name of the executor.

### LZ4 Compress

```lua theme={null}
lz4compress(data: string) : CompressedData <string>
```

<Info>
  lz4compress
</Info>

Compress `data` into a string.

### LZ4 Decompress

```lua theme={null}
lz4decompress(CompressedData: string) : DecompressedData <string>
```

<Info>
  lz4decompress
</Info>

Deompress `CompressedData` into a string.

### Is Luau

```lua theme={null}
isluau() : bool <boolean>
```

<Info>
  isluau
</Info>

<Warning>
  Always return true.
</Warning>

Returns if the current interpreter is Luau or not.

### Get Hwid

```lua theme={null}
gethwid() : Hwid <string>
```

<Info>
  gethwid
</Info>

Exact function unknown.
