mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
14 lines
316 B
C++
Executable File
14 lines
316 B
C++
Executable File
#include "../client.h"
|
|
|
|
void command_getvariable(Client *c, const Seperator *sep)
|
|
{
|
|
std::string tmp;
|
|
if (database.GetVariable(sep->argplus[1], tmp)) {
|
|
c->Message(Chat::White, "%s = %s", sep->argplus[1], tmp.c_str());
|
|
}
|
|
else {
|
|
c->Message(Chat::White, "GetVariable(%s) returned false", sep->argplus[1]);
|
|
}
|
|
}
|
|
|