(Information and examples taken from the DroidScript documentation)
The GetIPAddress method returns the network address of your device. (If WiFi is enabled)
app.GetIPAddress();
function OnStart() { ip = app.GetIPAddress(); app.ShowPopup( ip ); }