Skip to main content

Get Script Closure

getscriptclosure, getscriptfunction
Returns the script as a function (Basically it’s just a script code wrapped in a function)

Get Script Bytecode

getscriptbytecode
Returns the script bytecode, which later can be converted into a function by using loadbytecode

Load Bytecode

loadbytecode
Eco Executor exclusive.
Converts the ScriptBytecode into a function.

New C Closure

newcclosure, new_c_closure
Wraps the given func as a C closure, converting it from L closure to a C closure.

New L Closure

newlclosure, new_l_closure
Just wraps the given func as a L closure.

Is C Closure

iscclosure, is_c_closure
Checks the CClosure if it’s a C closure or not, then returns a boolean.

Is L Closure

islclosure, is_l_closure
Checks the LClosure if it’s a L closure or not, then returns a boolean.

Dump String

dumpstring
Converts the source into a string.

Loadstring

loadstring
This loadstring has been modified by eAPI.
Loads the given CodeString into a function and returns it.

Check Caller

checkcaller, issynapsethread
Checks if the caller is the executor and returns it as a boolean.

Check Call Stack

checkcallstack
Pretty much the same as checkcaller.

Get Calling Script

getcallingscript, get_calling_script
Gets the script that called the function.

Clone Function

clonefunction, clonefunc, cloneclosure
Clones the function differently.

Is Executor Closure

isexecutorclosure, checkclosure, isourclosure, isexecclosure, isexeclosure, is_executor_closure, issynapsefunction
Checks if the closure is from the executor.

Decompile

decompile
Decompile the scripts into a string of code (code from the script) And then returns it.

Bytecode To Lua

byte_to_lua
Decomp the source into a table.

Dump Function

dump_function, dumpfunction, dumpfunc, dump_func, dumpf, dump_f
Dump function into a string.

Protect Function

protectfunction, protect_function, protectfunc
Protects a function; when called, the script calling the protected function won’t be a caller.