> ## Documentation Index
> Fetch the complete documentation index at: https://fossabot.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# $(references)

Returns the parsed variable response from a custom command.

> [!NOTE]
>
> **Recursive `$(references)` invocations are blocked!**
>
> You may not call a `$(references)` variable from within another `$(references)` variable. This is to prevent service abuse.

#### Parameters

This variable takes **one** *required* parameter that is the **name** of a custom command that should be referenced.

#### Example Output

Assuming an existing command of `!hello` with a response of `Hello $(user)!`, if invoked by the user `Fossabot`:

* `$(references hello)`

  ```
  Hello Fossabot!
  ```

#### Error Output

* In case a custom command does not exist:

  ```
  [Error: Command not found.]
  ```

* In case a command is not specified in the arguments:

  ```
  [Error: Input argument required.]
  ```


## Related topics

- [Creating a Lookalike](https://fossabot.com/docs/lookalikes/creating-lookalikes.md)
- [Flags](https://fossabot.com/docs/keywords/flags.md)
- [Variables](https://fossabot.com/docs/keywords/variables.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.