Hi all. I’m working on improving my coding skills, so I’m trying out some custom code. At the moment, I’m trying to get the bot to read the local playerlist and note the count of players in local (including myself, alliance/corp/fleet members, and neuts/hostiles - so player standing identification is unnecessary). At the moment I’m trying to make use of the following code, but to no success:
var NumLocal = Sanderling?.MemoryMeasurementParsed?.Value?.WindowChatChannel?.FirstOrDefault(windowChat => windowChat?.Caption?.RegexMatchSuccessIgnoreCase(“local”) ?? false)?.ParticipantView?.Entry?.Count()
However this results in NumLocal == null.
Could someone point me in the right direction? Thanks!