FANDOM


An include file is a script that does not contain the function main() nor the function StartingConditional(). Include files are used by scripts which do contain one of these functions as a common repository of some scripting that is not desired to be copied into multiple scripts.

Include files are a benefit to the NWScripting system in that they allow a single definition of code to be accessible and consistent from many calling scripts.

To include a file in a script, type into NWScript:

#include "<filename>"

where <filename> is the name of file to include, without the .nss extension.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.