HLL: Send message to player in a squad without a squad leader

We want to send a message to a player that is in a squad that does not have a squad leader. To achieve this, I created a trigger with the following: Type: Player update Scope: Player - Tracks across session & server Rate limit: limit = 2, minutes = 1 minute Condition: Unit does not contain "lead" Action: Raw Command = Message {{player.steamID}} Your squad does not have a leader. It will be disbanded in 3 minutes." It seems I misunderstand the {{player.unit}} condition. Has anyone been able to get this to work?
4 Replies
Abu
Abu6mo ago
{{player.unit}} is not a condition. player.unit is a variable that holds the name of the unit a player is in (eg. ABLE, BAKER) and by adding {{double accolades}} around it you insert it into a string. What I assume you are doing is checking if player's unit name does not contain the phrase lead. Which of course does not work. Because f.e. ABLE does not contain lead and thus the condition holds. What you're trying to achieve isn't possible using BM triggers.
JuRo
JuRo6mo ago
Hmm, thank you for the clarification, I thought as much. So we should use the community rcon?
Abu
Abu6mo ago
Yes It's the only publicly available tool that provides such a feature at least.
JuRo
JuRo6mo ago
Thank you.