-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
The HELP command doesnt work since it's response is multi lined
the assumption of
168 // Server answers with:
169 // [- One line containing the answer ]
170 // - "error id=XX msg=YY". ID is zero if command was executed successfully.in index.js is incorrect for this command (possibly for more commands)
example with
160 reader.on("line", function(line){
161 console.log(line);node startup.js
TS3 //Skipped because 1 of first 2 lines
Welcome to the TeamSpeak 3 ServerQuery interface, type "help" for a list of commands and "help <command>" for information on a specific command. //Skipped because 2 of first 2 lines
error id=0 msg=ok //logged in
error id=0 msg=ok //use (selecting ts instance)
Usage: channelinfo cid={channelID} //from here is what i get from the server
Displays detailed configuration information about a channel including ID,
topic, description, etc.
Example:
channelinfo cid=1
channel_name=Default\sChannel channel_topic=No\s[b]topic[\/b]\shere
channel_description=Welcome ...
error id=0 msg=ok
{ channel_description: 'Welcome', '...': '' } //result of the library
error id=0 msg=ok //End of help
error id=0 msg=ok //logout
error id=0 msg=ok //quit
leowinterde and frct1
Metadata
Metadata
Assignees
Labels
No labels