API Reference
Miscellaneous Library
Executor identity, HTTP requests, compression, clipboard, and client settings.
identifyexecutor(): (string, string)Returns the executor name and version.
request(options: table): tablePerforms an HTTP request and returns the response.
setclipboard(text: string): ()Writes text to the system clipboard.
getcustomasset(path: string): stringReturns an asset URI for a file in the workspace directory.
setfpscap(cap: number): ()Sets the client frame rate cap.
getfpscap(): numberReturns the current frame rate cap.
lz4compress(data: string): stringCompresses a string with LZ4.
lz4decompress(data: string, size: number): stringDecompresses an LZ4 string.
getfflag(flag: string): stringReads a fast flag value.
setfflag(flag: string, value: string): ()Writes a fast flag value.
messagebox(text: string, caption: string, flags: number): numberShows a system message box and returns the chosen button.