The NWN Aurora Toolset provides module designers with the NWN scripting language named NWScript. This language is used while designing a module to allow the module builder to program with precise detail the actions of various objects and environment in that module: NPCs, placeables, waypoints, triggers, monsters, and so forth.
A script is a set of programming-language contructs in a text file. A script runs in response to an event occurring for an object. A script defines what activity should occur when it is invoked. A script is only run in response to an event.