uhh, isn't the role of this part, to show the name of the player? if yes,
couldn't you just delete this part,
set .n$,"["+strcharinfo(0)+"]"; // NPC Name
And
you could edit this part
mes .n$;
to this
mes ""+strcharinfo(0)+",";
Please correct me if I'm wrong. Thank you.