I am wondering if there is a way to obtain one's own local IP address(es) via scripting. (VBS in particular).
In the chat plugin, one can issue the "#info" alias and recieve a result similar to this:
One thing I would like to suggest is that an additional line be displayed, before the port line, which indicates the local IP. "Incoming connections IP: _____________"
I would likely then create a trigger to send that data to people who send me an approriate tell, such as "* tells you: chatinfo"
One way to achieve this might be to have Nick add a new function, perhaps called "LocalAddress", which returns the local IP address. The function could be smart enough to choose the local IP address which is being used to connect to the mud (in case the computer has multiple local addresses). Alternatively, return an array of all local IP addresses.
In the chat plugin, one can issue the "#info" alias and recieve a result similar to this:
---- Chat Configuration ----
Accepting incoming connections: True
Incoming connections port: 4050
Our chat name: Magnum
No chat sessions
One thing I would like to suggest is that an additional line be displayed, before the port line, which indicates the local IP. "Incoming connections IP: _____________"
I would likely then create a trigger to send that data to people who send me an approriate tell, such as "* tells you: chatinfo"
One way to achieve this might be to have Nick add a new function, perhaps called "LocalAddress", which returns the local IP address. The function could be smart enough to choose the local IP address which is being used to connect to the mud (in case the computer has multiple local addresses). Alternatively, return an array of all local IP addresses.