OSRS Plugin API
    Preparing search index...

    Function friendsChatGetDisplayName

    • Gets the name of the current chat-channel, if player is in one.

      Returns string

      the display name in the chat, or an empty string if not currently in one.

      osrs.printf("The current chat-channel name is %s", osrs.ClientOp.friendsChatGetDisplayName())