List Only SSID's with a certain IP

Hello everyone, anyone ever come up with a way to list WiFi SSID’s that have a certain IP Address?
Any ideas would be appreciated!
This is the idea I had that I thought would do the trick-

But it returns nothing in the list… :thinking: