From: terencehill Date: Tue, 11 Dec 2018 18:10:56 +0000 (+0100) Subject: Add a quickmenu command that allows to pick a player name from the connected players... X-Git-Tag: xonotic-v0.8.5~1697 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5d6bb4be9eb1e879a13d3db2d46d51c785a29f01;p=xonotic%2Fxonotic-data.pk3dir.git Add a quickmenu command that allows to pick a player name from the connected players and put it in the beginning of the chat edit line --- diff --git a/qcsrc/client/hud/panel/quickmenu.qc b/qcsrc/client/hud/panel/quickmenu.qc index d63b1fae2..0b9c102f7 100644 --- a/qcsrc/client/hud/panel/quickmenu.qc +++ b/qcsrc/client/hud/panel/quickmenu.qc @@ -779,6 +779,7 @@ void QuickMenu_Default(string target_submenu) string tc_cmd; QUICKMENU_SMENU(_("Chat"), "Chat") + QUICKMENU_SMENU_PL(CTX(_("QMCMD^Send public message to")), "Send public message to", "commandmode say %s:^7", 0, 1) QUICKMENU_ENTRY_TC(CTX(_("QMCMD^nice one")), "say %s", ":-) / nice one", CTX(_("QMCMD^:-) / nice one"))) QUICKMENU_ENTRY_TC(CTX(_("QMCMD^good game")), "say %s", "good game", CTX(_("QMCMD^good game"))) QUICKMENU_ENTRY_TC(CTX(_("QMCMD^hi / good luck")), "say %s", "hi / good luck and have fun", CTX(_("QMCMD^hi / good luck and have fun")))