Guards and wards

Guards and wards was an abjuration spell that could be used to protect and area or structure with a variety of magical effects and wards.

Effects
This spell had numerous effects that operated on an area up to 200 sq. ft (18.5 sq. m) per level of the caster and as much as 20 ft. (6 m) tall. The area could take any contiguous shape the caster desired, even layering the ward on top of itself to cover multiple stories, provided the maximum volume was not exceeded.

Numerous magical effects could be triggered within the warded area; the first of these included the following:

Arcane Lock This effect operated much as the arcane lock spell but could be applied to all the doors in the area.

Confusion A more specific version of the confusion  spell would cause any intruder that was faced with a choice in direction (such as at a corridor junction or intersection) to believe they are going the wrong way. This effect would make the intruder question their choices roughly half of the time.

Fog Every corridor could be obscured by a thick fog that restricted vision (even darkvision) to a mere 5 ft (1.5 m). In the older version this restricted visibility to 10 ft (3 m) instead.

Lost Doors This effect caused one door per level of the caster to appear to be nothing more than a plain wall, much like the silent image spell.

Webs Creating webs in the same manner as the web spell, this effect covered any and all stairs within the guards and wards effect. The difference between this effect and the spell was that the webs would regrow in 10 minutes if burned or damaged.

Secondly the caster could choose between one of the following effects.

Dancing Lights Four corridors could be programmed with dancing lights that would repeat a pattern for the duration of the guards and wards spell.

Gust of Wind This effect caused a gust of wind spell to manifest in one room or corridor.

Magic Mouth Akin to the magic mouth spell, a illusory mouth could appear in two places.

Stinking Cloud; Pungent vapors appeared in two areas like the stinking cloud spell except that they would reform within 10 minutes if dispersed.

Suggestion In an place that encompasses up to a 5 ft (1.5 m) square, a mental suggestion spell can take effect on any creature that passes through the designate area.

Guards and wards could not be dispelled by anything less than a mordenkainen's disjunction spell. A more simple dispel magic spell could only be used to remove a specific effect within the warded area.

Components
Verbal and somatic components were required, plus incense had to be burned along with a small amount of brimstone, oil, a knotted string and small measure of blood (previously from an umber hulk). In addition to these components a little silver rod was used as a focusing object.