# In depth command usages

## /<> lookup <a href="#lookup" id="lookup"></a>

{% hint style="info" %}

> **Syntax:** /chatsentry lookup \<tr:\[..]d|h|m|s &| p:\[..] &| vt:\[..]> or \<all>
>
> **Examples:**&#x20;
>
> `/chatsentry lookup tr:10d p:Notch` - *shows all violations of player Notch within 10 days.*
>
> `/chatsentry lookup vt:message-filter-block` - shows all word and phrase filter detections

Available filters ("flags") are:

* **"timerange:\<number>" (tr) -** filters results to a time range. Add s (seconds), m (minutes), h (hours) or d (days) at the end of the number to determine the range.<br>
* **"player:\<player>" (p)** - filters results to only violations of the specified player.<br>
* **"violationtype:\<violation type>" (vt) -** filter results to a specified violation type.
  * Valid violation types:
    * on-cooldown
    * link-or-ad-block
    * message-filter-block
    * word-replacer-replace (legacy)
    * chat-modifier-modify (legacy)
    * chat-executor-match
    * spam-block
    * unicode-character-block
    * cap-limiter-block
    * anti-parrot-block
    * anti-chat-flood-block
    * anti-statue-spambot-block
    * anti-join-flood-block<br>
* To show all logged violations, you can use **"all"** instead of any flags.

***1 or multiple of the above filters can be applied in a lookup.***
{% endhint %}

## **/cswarnings**

{% hint style="info" %}

> **Syntax:** /cswarnings \<subcmd>

**Subcommands:**\
\&#xNAN;*clearmodulewarnings (or cmw) \<player> \<module or 'all'>*

*pardonallmanual (or pam) \<player>*

*pardononemanual (or pom) \<player>*
{% endhint %}

## Other commands

{% hint style="info" %}

#### Since most other commands are straightforward their usages are not shown here. If you are confused with a command and would like it's usage written here, please just ask!

{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.chatsentry.xyz/pac/commands-and-their-perms/command-usages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
