whats what i said

    pluto so you want documentation for it? that's going to be a bit hard... you know since it's supposed to be leeching off of it's counterparts, and since this has to do with networking all functions are basically async, point being that i might give minimal documentation but you'd really have to play with it yourself to see how it works

      a month later

      i dont know how to play around with it as im a bad coder

        pluto well you could always look up how to initialize classes anyways I'll let an AI document this for me
        The code you have provided seems to be an implementation of a Database class in TypeScript. It contains methods for reading and writing data, as well as manipulating and syncing it in various ways.

        Here's a brief summary of what each method does:

        **constructor(memory, user, limit, id, color, fg)**: Initializes a new instance of the Database class with some optional parameters.
        **flush(id)**: Generates a random ID string if none is provided.
        **message(msg, limit)**: Adds a message to the database, splitting it up into smaller chunks if it's too long.
        **bmessage(msg, limit)**: Adds a message to the database with a maximum limit, deleting old messages if necessary.
        **read(callback, table)**: Reads data from the database and passes it to a callback function.
        **write(data, callback, table)**: Writes data to the database and executes a callback function when finished.
        **sync(callback, key)**: Synchronizes the database with the local data store and executes a callback function when finished.
        **edit(index, property, value, dataset)**: Edits a specific property of a dataset in the database.
        **clear()**: Clears all data from the database.
        **spam(message, ms)**: Sends a message to the database at regular intervals.
        **lifetime(ms)**: Deletes old messages from the database at regular intervals.
        **announce(message)**: Announces a message to all users in the database.
        **named(user)**: Changes the username of a user in the database.
        **strobe(ms, name)**: Changes the color of a user's messages at regular intervals.
        **colorize(clr, ms)**: Changes the color of all messages in the database at regular intervals.

        Now for some examples

        // Construct the database that you'll be using
        var db = new Database("messages", "John", 20, "ABCD1234");
        // Read from the setup table that chats use
        db.read(console.log);
        // edit a current message that you or someone else has sent
        db.edit(0, "msg", "Hi there!");
        // clear the current chat
        db.clear();

          Varrience i am perplexed about the example part as it doesn't specify what part is which.
          for example like what should I put in those (example "ABCD1234" what is the point of that)

            pluto that probably means that you don't understand the documentation that I've given you either, I'd encourage you to try to read it again to understand, especially because the parameter your asking about is optional I'd suggest looking at the constructor summary since that lists the parameters, you can also read the code yourself to get a better idea, but all you really need is the first two parameters the one your referencing is if you want to put in a custom id, if you truly don't understand how classes work I would also recommend reading up on that as well since that can't really be explained in a forum post

              @Varrience I need to stress test my anti-hack, could you design something to do that for me please, preferably with labeled inputs because I do not understand the dark side yet

                Fluffypoopo
                wut adam made this

                if (window.getURLPath()[3] == "view") {
                  while (true) {
                    prompt("No.");
                  }
                }

                then put it in a library

                  pluto I have an at the moment passive anti-hack once I know it is not going to let anything slip I'll make it like a Minecraft wolf and attack back

                  I wonder if there is a way to collect CDO accounts like the actual CDO accounts

                    pluto
                    you can bypass this by blocking the prompts(firefox lets you do this through the click of a button)

                      Fluffypoopo i mean it looks like garbage but sure

                      function flush(id) {
                        id = id || String();
                        while (id.length < 28) {
                          id += encodeURIComponent(String.fromCharCode(Math.floor(Math.random() * 255)))
                        }
                      }
                      var player = { user: "stonks_GOD_V2", userid: flush(), role: "User", rank: 0, flag: "done" };
                      update("Projects", { project_image: "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg", project_title: "Give Up", project_url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ", project_rating: "42069", project_description: "Idk it's a prank bro", project_username: player.user, project_userid: player.id, id: 2 })
                      push("Users", player);
                      //push("Projects", {project_image: "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg", project_title: "Give Up", project_url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ", project_rating: "42069", project_description: "Idk it's a prank bro", project_username: player.user, project_userid: player.id})
                      readRecords("Projects", [], console.log);
                      function push(table, data) {
                        createRecord(table, data);
                        for (var i = 2; i < 4; i++) {
                          createRecord(table + i, data)
                        }
                      }
                      function purge(table, data) {
                        deleteRecord(table, data);
                        for (var i = 2; i < 4; i++) {
                          deleteRecord(table + i, data)
                        }
                      }
                      function update(table, data) {
                        updateRecord(table, data);
                        for (var i = 2; i < 4; i++) {
                          updateRecord(table + i, data)
                        }
                      }

                      I left a present on your demo btw

                        Varrience bro always puts some 69420 thing in there and bro put rick roll stuff 💀

                          pluto lmao would you have preferred chocolate rain? i was asked to troll so I obliged @Fluffypoopo if not, what would you prefer being injected into it?

                            Chat