How to get a computer's IP address through AppleScript

Hello!
I’m new here and new for Applescript.
I have the following challenge. There are several Macs that needs to access a FileMaker database in my computer. However, since we don’t have a centralized server, we connect via a DHCP device, therefore each time my computer is restarted I get a new IP address.

I need to write a script that gets at startup my computer’s IP address and automatically sends an email to my pals at the workwroup, so they can connect to my computer.

I have not been successful figuring out how to get the IP address via AppleScript from the System Profiler or System Preferences. Any help will be greatelly appreciated.

Thanks!

Robert,
robert@servicequality.net

See IP Addresses.

Jon