----------------------------/ Teamspeak Query Bot \----------------------------
   -Info-
   Author..: Andromeda
   Version.: 0.92
   Email...: meijie@gmail.com

-------------------------------------------------------------------------------
   -About-

   This script will allow you to query teamspeak server and will
   return a list of people connected to the server.

-------------------------------------------------------------------------------
   -Instructions-

   1) Unpack zip file to wherever you like (preferably in the mirc
        directory)
   2) Open mIRC
   3) Type /load -rs c:\path\to\file\tsquery.mrc (or similar)

-------------------------------------------------------------------------------
   -Usage-

   To begin querying teamspeak server, connect to your favorite
   IRC server and message yourself in the following format:

     !ts <ip:port>

   If you are in a channel, other people can also type the same
   command and you will spit back out the teamspeak server's
   information.
   
   Here is an example of what it will look like:

   (-1:58-) (andromeda) !ts voice.teamspeak.org:10050
   (-1:58-) (TSBot) TS Server: voice.teamspeak.org:10050 TeamSpeak Public -2- (350/350)
   (-1:58-) (TSBot) Users connected: "Cavaliere" "Lord Cheese" "who" "J" "Redmage" "Guest10" "blunt" "Yosemite" "Bykini" "Guest8" "Guest30" "losh" "silan" "Kinswald" "MasterLucaz" "Sparkin" "Shadow" "derek" "Guest54" "MaELkUM" "Trefalgr" "Dark Lord of Collections" "Guest2" "Guest34" "Bamoman" "Raizen" "X-man" "Guest23" "Guest31" "Byakuya." "Siraidas - Back & Deadly" "snitzl" "oom" "Guest17" "NexoSnype" "SixPoD" "Luanaid" "Magier" "Nuruduu"
   (-1:58-) (TSBot) Users connected: "ChIcK^" "Guest11" "R@V!NG" "Spr0eiz0r" "Baou" "Chronoss" "pollo" "Sh!n" "goose/levan" "Vindilla" "markus" "Toyto" "Ragn" "thogan" "Sony" "olivier" "Guest9" "Guest38" "Grumel" "pj0tr" "Quetza" "Aiolia" "Ysix" "Witan" "Hate" "Guest52" "Laure" "BigDreaddy" "Orgo" "Zenobia" "Rebelle" "vif" "Kutte" "3y_Du" "Guest37" "Hellrider" "madbat" "Guest28" "GoSu" "Meister" "Really_2St0n3d" "starple" "shrodinger"
   (-1:58-) (TSBot) Users connected: "step" "tempera" "Maik" "NeeRiS" "Neldoret" "Lee" "Djunn" "Rysole" "AlbertaX" "Ichigo" "WingZero" "bibou" "Grosouris/croixbleue" "stormkatt" "climax" "nandae" "Guest5" "Isidrakz" "Bl0HarYn" "jake" "Zidren" "Zantetsuken" "Nagok" "Hanto" "Berk" "MG" "Mani" "Guest60" "Guest63" "Petronia" "memox" "Theodon" "barjo" "Jannus" "Astynus" "kao" "Typhoon" "simaehl" "foscura" "Steff" "Maco" "Sukram" "Mützle" "Nabahr"
   (-1:58-) (TSBot) Users connected: "Minneyar" "Dacapo" "keyra" "Soje" "Aeris" "Dagger" "Chindi" "kalien" "Aclar/Carullan" "Guest13" "Guest16" "Lykaon" "Hellpriest" "C moi l'chef y a koi" "isuka" "Snape" "Raziel" "Guest19" "Hyoga" "Shadowhammer" "Guest14" "Khazar" "loko" "*qp" "Warmaker" "*eXe" "Avalanch" "Enro" "Jymmi" "Jenny" "Sierfried" "luzlunar" "magic" "Shadowbound" "Sargon" "jay1" "Gromer" "Yadeniel" "shinigamis" "Erazer" "Fox_Mold3r"
   (-1:58-) (TSBot) Users connected: "Nextor" "Tori" "Klasius" "Gamala" "Arturo" "thoser" "domi" "keko" "Max" "jamie" "moga" "Richard" "LambdA" "Knives" "Guest22" "Liam Kayd" "Apostle got banned from cs2!" "Mabelle" "mumakil" "*=HzS=*Ra" "Java" "Dark Shodan" "zoxor" "Rafa" "Bullseye" "Blade II" "Guest26" "Blue" "Dr.Hamster" "Guest3" "Thelïa" "inendil" "Guest29" "wezzy" "Sgtpopiette" "MarioElisa" "Guest40" "jeje42" "Guest18" "Salih" "Tony Montana"
   (-1:58-) (TSBot) Users connected: "Guest32" "max0r" "Guest20" "Guest39" "Ic3" "|U.M.I.|LtGen.Ace" "*=HzS=*Yeti" "Darworth" "Magardab" "grai" "loumi" "tayke" "kaah" "wamb" "Toys - Zarby" "Sephirot" "Muranyarian" "Nabuchad" "Lucious" "pirata" "CrIpTOR" "Sascha" "pyccak" "Tobi" "Crash" "chonchu" "toga" "torck" "Aturis" "Guest21" "Sparkfist" "Nidaelie" "holy_knight" "Resil" "Fabse" "Guest27" "Guest43" "Ronin" "Guest44" "Fuzzel" "Guest45"
   (-1:58-) (TSBot) Users connected: "LPX Totof" "Raven" "Izzy" "Barbarella" "Guest46" "pRoBoT23" "Luminis" "FuTuRe" "Auruon" "Clay" "napi" "Guest47" "disease" "keraciens" "Zetnathul" "UchihaSasuke" "Guest41" "grzech" "Miron" "Enforcer" "Owner" "b" "Guest25" "Guest48" "Guest49" "Guest50" "Guest15" "DKF-UltimaThule" "allstarkd22" "Jack" "laola" "Guest33" "Guest51" "Leostos" "Händel" "Garvain" "ArsenalBR" "schukschum" "kaitana" "bla" "Assana"
   (-1:58-) (TSBot) Users connected: "Dutchking" "Ceithlin" "Saucemmy" "sjaak" "*=HzS=*Wounded " "sfgdgjestz" "sickOlogo" "zookeeper" "Alphart" "Mirko" "Fun" "JoJo" "PiPe" "Guest1" "Guest4" "massoud" "Kemban" "Å£ê×" "Hammok" "Sephirothh" "Guest6" "Elcapytan" "Bartho" "GoLiAtH" "JonnyJumper" "Ezalyth" "artimus" "Berzerker Onizuka" "fer" "KeTA" "Sandy" "facu!ty" "vaxe" "krabs" "Hills" "Interceptor" "Englmar" "Eugen390" "Snut" "ShOgO" "SolariS"
   (-1:58-) (TSBot) Users connected: "Gandorques Hikla" "djanga" "thorx" "Der Sensenmann" "Sauceoah" "Bosmier" "maiar" "Prime" "gangrel" "Lhunagarion" "diz" "Saucethan" "Srey" "legysmo" "Aisb" "Contagion" "Sigried" "Eyemaster" "darkyl"

-------------------------------------------------------------------------------
   -Additional Feature-

   Not everyone can remember their favorite teamspeak ip:port
   That's why I added a little feature that will allow you to type
   in an alias instead of the server ip:port so you won't have
   to memorize it.
   
   To add an alias, type in a pm to yourself or in a channel:
   
   !addalias aliasname ip:port
   
   For example:
   
   <TSBot> TSBot donut 123.456.789.101:8767 has been added to tsquery.
   <TSBot> !addalias donut 123.456.789.101:8767
   
   You can now use the alias "donut" to query that ip:
   
   <TSBot> !ts donut
   <TSBot> TS Server: 123.456.789.101:8767 Donuthole TeamSpeak Server (1/30)
   <TSBot> Users connected: "Magooglefoogle"

-------------------------------------------------------------------------------