For GameSurge you use authserv
Is the same syntax but replace "ns identify PASSWORD_HERE
" for "authserv AUTH NAME_HERE PASSWORD_HERE"
At least on their site they ask to use that syntax. Apart from that all works perfectly.
By the way, thanks for the script, I love it.
You don't have to replace anything for GameSurge, as I use " ns identify PASSWORD_HERE ". GameSurge, seems to use both. What you see In that script is what I use, and it works.