From cc06df44833d5e39b32065bb7892e787f6a1f54c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 12 Dec 2014 18:40:43 +0300 Subject: 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 --- src/input/inputactionmap.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/input/inputactionmap.h') 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 -- cgit v1.2.3-70-g09d2