OSRS Plugin API
    Preparing search index...

    Function isLoggedIn

    • Checks whether the client is logged in or not.

      Returns boolean

      whether the client has a login state or not.

      osrs.printf("Client logged in status: %s", tostring(osrs.ClientState.isLoggedIn()))