Need code to get ip address

Hi all
I am writing a script that does various functions for work.
what I need is either some code to retrieve the ip address of the machine (that works on both os9 & X)

or if there is a way that when using the remote program linking (eppc://192.162.5.2 etc)
that I can send a dialogue back to the script that originally sent the eppc instructions?

all the ip’s are set using dhcp

anyone able to help?

thanks in advance

Taz

Look in our scriptbuilders section…

http://scriptbuilders.net/category.php?search=ip+addr