PHP Code:
//Set a reference for the NPC
function onCreated(){
this.level.somename = this;
}
function onPlayerTouchsMe(){
//this.level.someothername being the reference for the opposite NPC
this.level.someothername.wasTouched();
}
public function wasTouched(){
//stuff
}
Just have to make 2 npcs with this script and make sure to set the necessary variable names.
CallNPC is really a relic from pre npcserver/pre GS2 days, may still work Clientside but it's somewhat deprecated.