If there is a code, it would be an engine command, so if you were able to find <master server address, server IP, port> and say for example "<master server address, server IP, port>". I can't give you a straight answer, but try looking around for some Torque Engine tutorials.