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.
Hey, I would like to ask that, Can I download somehow the script xml files from the scripts menu where I already uploaded them, my pc got corrupted and lost the files that I need.