Total event control
From NWNWiki
Total event control is the OSRS feature that wraps all other NWScript procedures and scripts. This includes all event handlers supplied by the Open Source Rule Set (OSRS). All events are redirected to function calls defined in the file osrs_inc, so all OSRS feature relationship functionally comes from this script.
This feature incurs a performance hit whose impact is not yet known.
There is additional overhead from the wrapping, but on the other hand, only the code from the script osrs_inc that is referenced somewhere is ever included in a compiled script.
In a module, code is executed in response to events, and no code is ever executed at other times. By capturing and controlling all scripts tied to these events, OSRS can treat each feature as separate and switchable, and OSRS is guaranteed to completely cover and control all scripting activity that occurs in the module. Thus, all events within the module are wrapped, which allows OSRS to group the module's scripts into separate sets (groups of similar entities) called features. Further changes to the code at the module-builder level can be included by calling the command ExecuteScript(). This wrapper set allows a module developer to migrate an existing module to use the OSRS rules.
