Just thought I'd share this one with you:
; #FUNCTION# ====================================================================================================================
; Name...........: _GetIP2
; Description ...: Get public IP address of a network/computer.
; Parameters ....: None
; Return values .: On Success - Returns the public IP Address
; On Failure - '0.0.0.0' and sets @ERROR = 1
; Author ........: Larry/Ezzetabi & Jarvis Stubblefield & FredAI
; Remarks .