For those who needs this later, you can set up http proxy and send a simple get request to https://api.ipify.org , it will give you the ip adress in plain text, no need to parse the json.
One of many simple and easy ways to do it.
I want to make it to where it counts the errorsand let's say when it reaches 10 it visits a certain URL link..
How do I increase a variable by +1 every time?
Also, would this be a correct if statement for... if {{var}} == 10