You can find the TeamSpeak forums at
http://forum.teamspeak.com/forum.phpOnce you downloaded the Ts3 Server you'll find a dir called "serverquerydocs", which contains all server query commands.
Standart queryport is 10011.
Remember to use the "use" command right after "login"
Code:
Usage: use [sid={serverID}] [port={serverPort}] [-virtual]
use {serverID}