# Custom syntax

Due to Skript and skript-mirror limitations, it is not easy to create custom syntax through Java calls alone. To help with this, skript-mirror offers utilities that simplify the creation of custom syntax.

## Shared Syntax

### Event Classes

{% code title="Syntax" %}

```
event-classes
```

{% endcode %}

### Expression

{% code title="Syntax" %}

```
[the] expr[ession][s](-| )%number%
```

{% endcode %}

### Matched Pattern

{% code title="Syntax" %}

```
[the] [matched] pattern
```

{% endcode %}

### Parser Mark

{% code title="Syntax" %}

```
[the] [parse[r]] mark
```

{% endcode %}

### Parser Regular Expression

{% code title="Syntax" %}

```
[the] [parse[r]] (regex|regular expression)(-| )%number%
```

{% endcode %}

### Continue

{% code title="Syntax" %}

```
continue [if (%boolean%|%condition%)]
```

{% endcode %}

{% content-ref url="custom-syntax/effects" %}
[effects](https://skript-mirror.gitbook.io/docs/1.x/advanced/custom-syntax/effects)
{% endcontent-ref %}

{% content-ref url="custom-syntax/conditions" %}
[conditions](https://skript-mirror.gitbook.io/docs/1.x/advanced/custom-syntax/conditions)
{% endcontent-ref %}

{% content-ref url="custom-syntax/expressions" %}
[expressions](https://skript-mirror.gitbook.io/docs/1.x/advanced/custom-syntax/expressions)
{% endcontent-ref %}
