TorqueScript/Debugging/Guide

From TDN

Tip: get warnings about your undefined or uninitialized script variables add the following to your server/defaults.cs

$Con::warnUndefinedVariables = 1; //warn us when we access undefined variables