I have been battling with mirc for a good hour and a half trying to figure out why some data I am sending over sockets isn't reaching its designated target, and finally narrowed it down. for some reason $ip is just not returning anything at all!

set %variable $ip sets that variable to literally, $ip

and if i try //echo $ip in the status window nothing is returned.

why?