I fixed the case problems, still nothing.
I missed the case problems, but I understand the triggers and what they do, but as you said as well, cant use triggerserver or client in a level npc.
so, im left with
PHP Code:
function onCreated() setshape(1,32,32);
function onActionmidi(p0,p1){
if (p0!="midi")return;
serverr.sdemidi=p1;
for(i:players)i.triggeraction(this.x+1,this.y+1,"enter",midi);
}
//#CLIENTSIDE
function onCreated() setshape(1,32,32);
function onPlayerchats(){
if (!(player.account in { "sssssssssss", "Decus_Arillias" })) return;
if (!(player.chat.starts("playmidi"))return;
t=player.chat.tokenize();
triggeraction(this.x+1,this.y+1,"midi",t[1]);
}
function onPlayerenters()
playmidi(serverr.sdemidi);
function onActionenter(p0,p1)
if (p1=="midi")onPlayerenters();
For whatever reason still, its not getting sent to the server.