# /search

## Usage

In order to access this command visit any text or thread channel and type **/**, then select **/search**.

**/search** utilizes the **Global LFG Network**, a service which servers may choose to [**opt-into**](#global-lfg-network) in order to broadcast their new LFG Posts to other participating servers on the network. Users are able to search for open LFG Posts for their desired Steam Game, matching certain optional parameters.

This feature eliminates the need for users to be apart of multiple Discord Servers, by instead brining the world to them. It also boosts the visibility of participating servers, increasing growth. This command can be used either in a server channel or via direct message.

![Each parameter provides a brief description for what is required.](https://2783831204-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw9RzKL1DbOX4aV4ym0yC%2Fuploads%2FQvahCxTDtlNdB93PsPW9%2Fimage.png?alt=media\&token=b5d27a09-5c29-436b-b6e6-847f4fe420e8)

### Available Parameters

In order to use **/search** you must first provide a current **Steam Store URL**. (**Ex:** [Stellaris](https://store.steampowered.com/app/281990/Stellaris/))

The below options are currently available to customize your search of the **Global LFG Network**:

{% tabs %}
{% tab title="💬 Keywords" %}
This parameter is optional, it can be used to check if a LFG Post's description or rules fields contain the user provided phrases. This option is filled out by typing a desired phrase.

![We will search for the words in the phrase you provided, helping to detect LFG posts which contain all said words.](https://2783831204-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw9RzKL1DbOX4aV4ym0yC%2Fuploads%2FGsd5Rc2eKM8WLhwr4rsN%2Fimage.png?alt=media\&token=10221eb3-d13a-41a0-9357-5805dc5cae44)
{% endtab %}

{% tab title="📜 Rules" %}
This parameter is optional, it can be used to check if a LFG Post has rules listed.

**Selectable Options:** Rules Provided

![For those who prefer a well regulated gaming experience.](https://2783831204-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw9RzKL1DbOX4aV4ym0yC%2Fuploads%2FLgXTnP6klIP4wXlCop2k%2Fimage.png?alt=media\&token=2c96d378-2afd-4cbc-90c3-9496478abde5)
{% endtab %}

{% tab title="🔑 Password" %}
This parameter is optional, it can be used to check if a LFG Post is password protected.

**Selectable Options:** Password Required

![This feature is useful if you prefer a more private and safe experience.](https://2783831204-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw9RzKL1DbOX4aV4ym0yC%2Fuploads%2F6AvoCOcQwPaAaak3c5tB%2Fimage.png?alt=media\&token=4dc3e86b-26c4-4be3-9265-8770d5796ffc)
{% endtab %}
{% endtabs %}

### Results

Upon providing a game to search for and any optional parameters, we will display through hidden messages any matching LFG Posts on the **Global LFG Network**. We will display a maximum of 10 posts and will never have duplicate posts or show the same host more than once. Hosts are restricted to **one** active LFG Post on the **Global LFG Network** per Steam game to avoid spam.

{% hint style="info" %}
**Tip:** we will not show your own currently active LFG Posts, as to help avoid confusion.
{% endhint %}

![Each found post will include a suite of buttons similar to in-server LFG Posts.](https://2783831204-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw9RzKL1DbOX4aV4ym0yC%2Fuploads%2F6YJj2SbOHikttTOd2uoK%2Fimage.png?alt=media\&token=93e85198-ffc8-42f9-a078-d87ffb85ce73)

Each post which is returned within the search will be provided buttons in order for external users to connect with the host. As mentioned prior the Global LFG Network boosts the visibility of servers by providing a invite link. This makes joining the conversation via Discord extremely hassle-free.

The new buttons are the **Join Discord** button which as stated is simply an invite link. As well as the **Message Link** button which jumps the user to your post if they are in your Discord Server. To learn more about **Join Game**, **Message Link** and **Add Host as Friend** buttons, consider visiting below:

{% embed url="<https://valkyrinllc.gitbook.io/steamlfgservice/slash-commands/host#results>" %}
Visiting the above [**/host**](https://steamlfg.gitbook.io/overview/slash-commands/host) page will detail the first two buttons displayed on the prior image.
{% endembed %}


---

# 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://steamlfg.gitbook.io/overview/slash-commands/search.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.
