skript-mirror
GitHub
2.x
2.x
  • skript-mirror
  • Getting Started
  • Basics
    • Reading Javadocs
    • Importing classes
    • Running Java code
    • Handling events
    • Utilities
  • Advanced
    • Error handling
    • Loading external libraries
    • Custom syntax
      • Effects
      • Conditions
      • Expressions
    • Computed Options
    • Experiments
  • Code Conventions
  • Frequently Asked Questions
Powered by GitBook
On this page
  • Shared Syntax
  • Event Classes
  • Expression
  • Matched Pattern
  • Parser Mark
  • Parser Regular Expression
  • Continue
  1. Advanced

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

Syntax
event-classes

Expression

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

Matched Pattern

Syntax
[the] [matched] pattern

Parser Mark

Syntax
[the] [parse[r]] mark

Parser Regular Expression

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

Continue

Syntax
continue [if (%boolean%|%condition%)]
PreviousLoading external librariesNextEffects

Last updated 6 years ago

Effects
Conditions
Expressions