@andreiem , sure, but it needs to be changed a bit.
var index = 0;
ip = true;
while (ip == true)
{
var ip = (RMap("BLACKLIST").indexOf(RMap("IPS").at(index)) >= 0)
if (ip == true)
{
index = (index+1)
}
}
[[IP]] = RMap("IPS").at(index)
Where "IPS" resource with IPs list
"BLACKLIST" blacklist with IPs
I'm not coder but it working ;)
test script
ips.xml