what happens is that every time I run the command, it returns a single IP address — not the same IP address. Run it 5 times, get 5 server IP addresses
curl --silent --retry 3 --connect-timeout 3 --max-time 6 --retry-delay 1 --retry-all-errors
https://serverlist.piaservers.net/vpninfo/servers/v6 | jq --raw-output '.regions[] | select(.name=="US Alabama") | .servers.ovpnudp[].ip' 2>/dev/null
Running it 5 separate times, it returns one of these addresses—among others by for each time I run it.
84.239.6.3
84.239.6.9
84.239.6.15
84.239.6.8
84.239.6.20
And when run from inside VPNMON, let’s say I had input those 5 IP addresses manually. Then later go to execute the script using X1… it removes my existing list and replaces it with the single returned up address, rather than adding the new address to my existing list. (Which is prob the right course of action—at least when the script returns a long list