parent proxy

hello guys. how can i put the value of parent proxy on a variable.
ex: i=192.168.0.22:8080 to use in a script. thanks

If you mean how to get parent proxy settings from ip proxy, then:

global gPProxy ( [ /ip proxy get parent-proxy ] . ":" . [ /ip proxy get parent-proxy-port ] )