triggeractions trigger a script in the npc found on the location where the trigger points.
triggeraction x,y,action,params;
so lets say we have this:
NPC Code:
if (playerchats && strequals(#c,test)) {
message Ok!;
triggeraction 4,8,message,#a;
sleep 2;
message ;
}
// NPC at 4,8
if (actionmessage) {
message Hello to you!;
sleep 2;
message ;
}
There are different kinds of triggeractions, like those that go to the npcserver, (I forget those), those that trigger to the serverside of a weapon (very useful) and you can even trigger to the serverside of an npc itself. But what I have above is your basic triggeraction