> For the complete documentation index, see [llms.txt](https://lunera.rlib.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lunera.rlib.io/internal/slider.md).

# Slider

This is an example website you can attach to each slide in this script. When a player sees a slider with news they are interested in; they can click the slide and get redirected to a website of your choice.

You can modify the URLs for your slider references in:**`addons\addon_folder\lua\modules\lunera\cfg\sh_8_slider.lua`**

Slider settings can be configured within the `cfg.slider.list` table of the config file.

```lua
cfg.slider.list =
{
    {
        enabled     = true,
        title       = 'Advertise Your Banners',
        desc        = 'Edit the sh_cfg_slider.lua file to change these',
        img         = 'http://g.rlib.io/banners/static/2.jpg',
        link        = 'https://lunera.rlib.io/interval/slider',
    },
    {
        enabled     = true,
        title       = 'Documentation',
        desc        = 'Read more about this addon on the official docs page',
        img         = 'http://g.rlib.io/banners/static/3.jpg',
        link        = 'https://lunera.rlib.io/interval/slider',
    },
    {
        enabled     = true,
        title       = 'Stay Tuned',
        desc        = 'More product updates by this developer coming soon',
        img         = 'http://g.rlib.io/banners/static/4.jpg',
        link        = 'https://lunera.rlib.io/interval/slider',
    },
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://lunera.rlib.io/internal/slider.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
