OSRS Plugin API
    Preparing search index...

    Function friendsChatGetChatCount

    • Gets the number of players in a chat-channel.

      Returns number

      the current number of players in the friend chat channel, or 0 if not currently in one.

      osrs.printf("The current chat-channel name is %s and has %d players", osrs.ClientOp.friendsChatGetDisplayName(),  osrs.ClientOp.friendsChatGetChatCount())