Introduction
Every significant GUI in Neverwinter Nights 2 consists of a file in .xml format, which contains the code for the "Visual" part of GUI, and a number of NWScript scripts, which follow a specific naming convention and get executed by the specific events or actions on the XML GUI.