LayOrWhatever
Allows a script to control the results of the player's selecting 'LAY' on the 'Characer View' menu.
Cast a spell: By setting Hook Parameter[1] to the name of a spell and returning the value “CastSpell”, the engine will proceed as if the player had selected “Cast” followed by the selection of the named spell. Commonly, this will result in the player being offered a chance to select a target of the spell.
Parameters
None
Context
Character - The active character
Class - The active character's class