# SELECT (Data: starting_kits.lst)

## Status

New 5.9.5

## Syntax

`SELECT:x`

## Parameters

- x: JEP formula or VAR

## What it does

- Sets a value that can be checked at any point after this tag appears in a kit using the OPTION tag.
- This tag is used, in conjunction with the `OPTION` tag, to randomly determine if an item will be granted by the kit.
- The `OPTION` tag can be added to any kit line and the object will only be granted if the range specified by the OPTION tag matches the number generated by the `SELECT` tag.
- If more than one `SELECT` tag is used in a kit, each use of it will reset the value for the OPTION tags below it.

## Example

`SELECT:roll("1d100")`

Selects a number from 1 to 100 which can be checked by the OPTION tag.

Documentation built with Hugo using the Material theme.