# PREALIGN (Global: PRErequisite)

## Status

Updated 5.7.6

## Syntax

`PREALIGN:x,x`

## Parameters

- x: LG,LN,LE,NG,TN,NE,CG,CN,CE,Deity (Alignment abbreviation).
- x: 0,1,2,3,4,5,6,7,8,10 (Alignment array number).

## What it does

- Requires the PC be one of the specified alignments.
- Alignment names are defined in the statsandchecks.lst gameMode file.
- The Alignment abbreviation is the prefered method of identifying the required alignments.
- The Alignment array number, based on the order the Alignments are presented in the statsandchecks.lst file with the first one being 0.
- If NO alignments are defined in GameMode, all PREALIGN tags will return TRUE.
- In the 3e and 35e gameModes these are the listed Alignments: 0=LG, 1=LN, 2=LE, 3=NG, 4=TN, 5=NE, 6=CG, 7=CN, 8=CE, 9=None, 10 Deity’s Alignment.

## Example

`PREALIGN:LG,NG,CG`

Requires any Good alignment.

`PREALIGN:2,5,8`

Requires any evil alignment.

`PREALIGN:LG,Deity`

Requires Lawful Good or the character’s chosen Deity’s alignment.

`!PREALIGN:LG,NG,CG`

Requires the PC not be of “Good” alignment.

Documentation built with Hugo using the Material theme.