diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-11 23:36:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-11 23:36:41 +0300 |
commit | 12bc5f140a15f28ea57e8904a3858ba633d22b6d (patch) | |
tree | b8137d40b90548aab4780c94919d14ad18eb744b /src/commands.h | |
parent | f43e19ac76dd70bc362d7f498e095c56ab649b61 (diff) | |
download | plus-12bc5f140a15f28ea57e8904a3858ba633d22b6d.tar.gz plus-12bc5f140a15f28ea57e8904a3858ba633d22b6d.tar.bz2 plus-12bc5f140a15f28ea57e8904a3858ba633d22b6d.tar.xz plus-12bc5f140a15f28ea57e8904a3858ba633d22b6d.zip |
add /talkraw chat command for special use.
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h index 6825159c4..851789282 100644 --- a/src/commands.h +++ b/src/commands.h @@ -126,6 +126,7 @@ namespace Commands decHandler(enableAway); decHandler(testParticle); decHandler(createItems); + decHandler(talkRaw); void replaceVars(std::string &str); } // namespace Commands @@ -219,6 +220,7 @@ enum COMMAND_MAGICATTACK, COMMAND_TEST_PARTICLE, COMMAND_CREATEITEMS, + COMMAND_TALKRAW, COMMAND_HACK, END_COMMANDS }; @@ -312,6 +314,7 @@ static const CommandInfo commands[] = {"magicattack", nullptr, Input::KEY_MAGIC_ATTACK, false}, {"testparticle", &Commands::testParticle, -1, true}, {"createitems", &Commands::createItems, -1, false}, + {"talkraw", &Commands::talkRaw, -1, true}, {"hack", &Commands::hack, -1, true} }; |