I guess quest::me just for the person who triggered it.
for emote try this simple function.
Code:
else if (!strcmp(strlwr(command),"yourfunction")) {
if(mob)mob->Message(15,arglist[0]);
}
dont forget to add the proper function including in embparser.cpp.(near the end of file).