perhaps im not sure, since the changes of coding between retail and original.
anyways if you put a cs file in add-ons with the trigger you can enable it.
here is an example trigger:
datablock TriggerData(helloworld){
tickPeriodMS = 100;//tick period. best to leave it alone.
};
function helloworld::onEnterTrigger(%this, %trigger, %obj){
if(!%obj.client.inhello){// if the enteree isnt already inside
%obj.client.inhello = 1;//set it so they are inside
%obj.client.helloschedule = Schedule(8000, 0, "hellointoo", %obj);
messageClient(%obj.client, "", "You have entered the trigger.");
}
}
function helloworld::OnLeaveTrigger(%this, %trigger, %obj){
if(%obj.client.inhello){//make sure they're actually inside
%obj.client.inhello = 0;//hes no longer inside
messageClient(%obj.client, "", "You have left the trigger.");
cancel(%client.helloschedule);//end the hellointoo process
}
}
function hellointoo(%obj)
{
messageClient(%obj.client, "", "HOW DARE YOU STAY IN TOO LONG!!!");
%obj.kill();//kill them >:D
%obj.client.inhello = 0;// no longer inside(they dead :))
}
this nifty trigger kills someone if they stay inside for too long. enjoy.