We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b542615 commit f7bd9aeCopy full SHA for f7bd9ae
src/strategy/actions/TradeAction.cpp
@@ -15,6 +15,16 @@ bool TradeAction::Execute(Event event)
15
{
16
std::string const text = event.getParam();
17
18
+ // Table with prefixes to be excluded from analysis
19
+ static const std::vector<std::string> excludedPrefixes = {"RPLL_H_"};
20
+
21
+ // If text starts with any excluded prefix, don't process it further.
22
+ for (const auto& prefix : excludedPrefixes)
23
+ {
24
+ if (text.find(prefix) == 0)
25
+ return false;
26
+ }
27
28
if (!bot->GetTrader())
29
30
GuidVector guids = chat->parseGameobjects(text);
0 commit comments