Probably a dumb question, but I would like to know if there is a fairly straightforward way to tell from inside a given module's scipts whether the current game is being played in single-player mode or a multiplayer mode? To be clear, it's easy to tell how many PCs are playing; but that isn't what I am interested in. I want to know if there is a way to tell in which mode the game is running. For example, I'd like some way to know if a given PC got there by just hitting load game (or new game) or if he got there by joining a multiplayer game via LAN or Internet.
Also, sort of a related question, is there a way for a script to get the server's IP? I know there is a call that's supposed to return the player's IP as a string, but is there something analogous for the server on which the module is running?
Both questions are in the context of vanilla NWN 1.69, no way to tell if NWNX or any SQL API calls would be available.
Sorry of the question is poorly defined. I think it should be an easy thing to do, but I may not know enough about the server to describe this properly.