@BadBane not exactly, let's assume your external ip is 94.32.54.21, your port is 4976 (default) and your password is strongpassword33
connect 94.32.54.21;password strongpassword33
if your port is something else however (or if you're running game + server on the same pc in which case you need to change the server's port to 4977):
connect 94.32.54.21:4977;password strongpassword33
: is used to separate ip and port
; is used to separate commands