One NPC gives the command:
NPC Code:
triggeraction <wherex>,<wherey>,<name>,<parameters>,(extraparam) ,(extraparam);
and any npc on the spot (wherex,wherey) with this:
NPC Code:
if (action<name>) {
stuff();
}
can take the parameters listed and use them ( #p(0) - #p(n) )
Hope that helps...i'm trying to get a little help aswell on the topic :P
[edit] Example being that you want to use a key to open a door, so the key would have the trigger action with wherex and wherey being in front of the player (playerx+1.5,playery+1), and the door would have the action<name>. The name also has to be the same throughout, and the parameters can be different depending on what you want to do with the triggeraction. (is so bored...so keeps watching the forums)[/edit]