void main() { object oMaster = (GetLocalObject(OBJECT_SELF, "MyMaster")); string sEffectSetting = GetLocalString(oMaster, "EffectSetting"); float fEffectSetting = GetLocalFloat(oMaster, sEffectSetting); SetListenPattern(OBJECT_SELF, "**", 31420); //listen to all text SetListening(OBJECT_SELF, TRUE); //be sure NPC is listening DelayCommand(0.5, ActionSpeakString(sEffectSetting + " is currently set at " + FloatToString(fEffectSetting))); }