Back

GetRouterAddress

JS Py
Hello World

Returns the routers ip address.

app.GetRouterAddress() → String: ip address

(Its typically your own IP but ending with a .1, ie. 192.168.178.1)

Example - Get Router Address

function OnStart()
{
    var ip = app.GetRouterAddress();
    app.Alert(ip);
}
from native import app

def OnStart():
    ip = app.GetRouterAddress()
    app.Alert(ip)
Copy All       Run