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