# Scriban Scripting

Some of our software products (RaceResultExchange, RemoteRedirect) come with a powerful scripting engine called [Scriban](https://github.com/scriban/scriban).

At the developer's website, you'll find an extensive documentation about the [language ](https://github.com/scriban/scriban/blob/master/doc/language.md)and [built-in functions](https://github.com/scriban/scriban/blob/master/doc/builtins.md).&#x20;

## Primer

* Scripts are enclodes in double curly braces `{{` `}}`.
* Every line of code that is not an assignment to a variable and produces a string is output
* &#x20;Functions can be called with parameters in two ways:
  * Either in a traditional way: `FunctionName "Param1" Param2 Parame 3`...
  * or in a piping-way: `"Param1" | FunctionName Param2 Param3`


---

# 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://docs.dbnetsoft.com/knowledge-base/scriban-scripting.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.
