mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
13 lines
284 B
C++
Executable File
13 lines
284 B
C++
Executable File
#include "../client.h"
|
|
|
|
void command_npcemote(Client *c, const Seperator *sep)
|
|
{
|
|
if (c->GetTarget() && c->GetTarget()->IsNPC() && sep->arg[1][0]) {
|
|
c->GetTarget()->Emote(sep->argplus[1]);
|
|
}
|
|
else {
|
|
c->Message(Chat::White, "Usage: #npcemote message (requires NPC target");
|
|
}
|
|
}
|
|
|