You create wards that protect the target area. Each warded area has a maximum height of 20 feet and can be shaped. Several stories of a stronghold can be warded by dividing the area among them if you can walk from one to the next while the spell is being cast.
When cast, you can create a password that can make a creature immune to these effects when it is spoken aloud. You may also specify individuals that are unaffected by any or all of the effects that you choose.
Guards and wards creates the following effects within the area of the spell.
In addition, one of the following spell effects can be placed within the spell's area.
The clouds return after 10 minutes if dispersed while the spell remains. * A gust of wind can be placed in a corridor or room. * Pick a 5-foot square. Any creature that passes through it subjected to a suggestion spell, hearing the suggestion mentally.
The entirety of the warded area radiates as magic. Each effect must be targeted by separate dispel magic spells to be removed.
The spell can be made permanent by recasting the spell every day for a year.