From 4a4d6bd39b88933f5db4b632b28e1444062ad25a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 Dec 2011 21:50:36 +0300 Subject: Add variables for any chat text/commands. - target or nearest player nick. - target or nearest monster name. - comma separated list of visible players (except self). - all party members (except self). Example usage: type in chat: hello . --- src/commandhandler.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/commandhandler.h') diff --git a/src/commandhandler.h b/src/commandhandler.h index f8b44e04f..b97b191ff 100644 --- a/src/commandhandler.h +++ b/src/commandhandler.h @@ -59,6 +59,8 @@ class CommandHandler void handleCommands(const std::string &command, ChatTab *tab = localChatTab); + void replaceVars(std::string &str); + static char parseBoolean(const std::string &value); protected: -- cgit v1.2.3-60-g2f50