> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-handbook/text/text-tags/macro.md).

# Macro

### Signature

```
{macro:[id],[padRange],[zeroPadOnNav],[zeroPadAlways]}
```

### Description

Used in ebp scripts via the [Set Mes Macro](/the-insurgents-handbook/scripts/vm-call-targets/set-mes-macro.md) function to display a variable.

For example: `You have {x} Gil.`, where as x would be calculated in the ebp script.

### Arguments

#### Identifier

The identifier of the macro (0 -> 127).

#### Padding Range

The padding range of the shown number (0 -> 8).

For example, with a padding range of 4, the value `20` would be shown like `20`.

#### Zero Padding On Navigation

If set to 1, the shown number will include zero padding on navigation (0 -> 1).

#### Always Zero Padding

If set to 1, the shown number will always include zero padding (0 -> 1).

For example, with a padding range of 4, the value `20` would be shown like `0020`.

If the padding range is not higher than 0, this argument has no effect.
