Script: Text
From Ultima Online: The Second Age
trigger message("activate") { if (hasObjVar(this, "acttext")) { string acttext = getobjvar_str(this, "acttext"); bark(this, acttext); processTriggerCmds(this, "a"); } return (0x00); }
trigger message("deactivate") { if (hasObjVar(this, "deacttext")) { string deacttext = getobjvar_str(this, "deacttext"); bark(this, deacttext); processTriggerCmds(this, "d"); } return (0x00); }