> For the complete documentation index, see [llms.txt](https://matebot-app.gitbook.io/untitled/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://matebot-app.gitbook.io/untitled/scripting/random.md).

# Random

Generate random values

## Int <a href="#int" id="int"></a>

Generate random integers.

```javascript
const Random = Utils.Random; ​ 

// generate random integer between 1 to 10 
const int = Random.Int(1, 10); 
Bot.reply(int)
```

## Float <a href="#float" id="float"></a>

Generate random integers.

```javascript
const Random = Utils.Random;
​
// generate random float value between 1 to 10
const float = Random.Float(1, 10);
Bot.reply(float)
```

## Picker <a href="#picker" id="picker"></a>

Pick any random item from an array

```javascript
const Random = Utils.Random;
​
const item = Random.Picker(['a', 'b', 'c']);
Bot.reply(item)​
```
