Skip to main content

ChatRoomMessageMentionsCharacter

Callable

  • ChatRoomMessageMentionsCharacter(C: Character, msg: string): boolean

  • Checks if the message contains mentions of the character. Case-insensitive.


    Parameters

    • C: Character

      Character to check mentions of

    • msg: string

      The message to check for mentions

    Returns boolean

    • msg contains mention of C