Cloudy API Documentation
  • SETUP
    • Introduction
    • Setting Up Your Project
    • Update Log
    • Cloudy API Tutorial
    • Credits
  • FUNCTIONS
    • AutoInject
    • Inject
    • Execute
    • GetClientsList
    • RegisterExecutor
    • IsInjected
    • AutoSetup
    • disableSecurity
    • isRobloxOpen
    • CheckRobloxVersion
    • GetUsername
    • killRoblox
    • AskAi
    • Cleanres
    • SetDiscordRpc
    • IsAutoInjectEnabled
  • credits
  • GetUserIdFromUsername
  • GetAvatar
  • SetScriptJS
  • AddTabJS
  • GetDiscordUsername
  • cPlaceId
  • cPlaceName
  • cPlaceImage
  • CHAT FUNCTIONS
    • ConnectToServer
    • ReceiveMessages
    • SendMessage
    • Disconnect
    • OnMessageReceived
    • OnError
    • Messages
Powered by GitBook
On this page

AddTabJS

Creates a new tab in the web editor with the specified name and content. Returns a JavaScript command that adds a new tab to the editor with the provided script content.

Usage:

Api.misc.AddTabJS(string name, string content);

Example:

string tabName = "MyScript";
string scriptContent = "print('Hello from new tab!')";
string jsCommand = Api.misc.AddTabJS(tabName, scriptContent);
// Returns: addTab("MyScript", "print('Hello from new tab!')")
PreviousSetScriptJSNextGetDiscordUsername

Last updated 1 month ago