PHP Code:
function onCreated() {
setshape(1,32,32); // So the Trigger is Hits something Serverside.
}
function onActionTest() {
if (params[0] != id) this.chat = "Some other npc hit me :(" SPC params[0];
else this.chat = "that tickles" SPC params[1];
}
//#CLIENTSIDE
function onCreated() {
triggeraction(x+1,y+1,"test",id,"lol"); //sending trigger
}