summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-12 18:40:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-12 18:40:43 +0300
commitcc06df44833d5e39b32065bb7892e787f6a1f54c (patch)
tree51073ec246786f4bab68113f83c63f2d6def581d /src/input/inputactionmap.h
parentabce183c65e7f6966d3778f4da6d627ea9cdf619 (diff)
downloadplus-cc06df44833d5e39b32065bb7892e787f6a1f54c.tar.gz
plus-cc06df44833d5e39b32065bb7892e787f6a1f54c.tar.bz2
plus-cc06df44833d5e39b32065bb7892e787f6a1f54c.tar.xz
plus-cc06df44833d5e39b32065bb7892e787f6a1f54c.zip
Add chat command to show "/w NICK" message or open whisper tab (depend on settings)
New chat command: /whispertext NICK Aliases: /wt NICK /msgtext NICK
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index b25dfe848..08d7bbf7a 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4216,6 +4216,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"addchat|chatadd",
true},
+ {"keyWhisperText",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::msgText,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "wt|whispertext|msgtext",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H