> For the complete documentation index, see [llms.txt](https://natorog.gitbook.io/zelchat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://natorog.gitbook.io/zelchat/chat-filters/similarity.md).

# Similarity

***

```
Every time a player sends a message, this message will be tracked and compared 
     to his last one and if that message is % similar it will be blocked!
```

```yaml
  similarity-check:
    enabled: true
    cache-message-seconds: 10 # How many seconds will a message be tracked
    threshold: 0.75 # The threshold to flag the check
```

<pre><code>With /zelchat similar &#x3C;String1> &#x3C;String2> you will be able to compare two strings 
<strong>                         and tune better your threshold
</strong></code></pre>

***

<figure><img src="/files/jeTG9eIGEZC0aMC6uUXo" alt=""><figcaption></figcaption></figure>
