Results 1 to 9 of 9
Thread: Lua Manual / Docs
Hybrid View
-
20-12-2009, 00:26 #1
Lua Manual / Docs
Is there a documentation already available that shows which functions / libs are available and which args do they have on the Client / Server?
i only got a small list by creating a PrintTable (this function is a modified version from Garry's Mod to work with TS3, i didn't made use of the indent arg yet feel free to expand it :P) function and calling it like that: ts3.printMessage( serverConnectionHandlerID, PrintTable( ts3 ) )
Code:function PrintTable( t, indent, done ) done = done or {} indent = indent or 0 local output = "" for key, value in pairs( t ) do if type( value ) == "table" and not done[value] then done [value] = true output = output .. tostring ( key ) .. ":" .. PrintTable( value, indent + 2, done ) .. "\n" else output = output .. tostring ( key ) .. "\t=\t" .. type( value ) .. "\n" end end return output endCode:ts3: getChannelIDFromChannelNames = function requestChannelUnsubscribeAll = function requestChannelDescription = function getClientSelfVariableAsString = function requestServerVariables = function setPreProcessorConfigValue = function getClientID = function logMessage = function getParentChannelOfChannel = function getClientSelfVariableAsInt = function printMessage = function getChannelClientList = function requestClientMove = function requestChannelDelete = function requestClientPoke = function requestChannelSubscribe = function requestSendTextMsg = function flushClientSelfUpdates = function getPlaybackConfigValueAsFloat = function setClientSelfVariableAsString = function getChannelVariableAsString = function requestClientKickFromServer = function getChannelVariableAsInt = function playWaveFile = function getServerVariableAsInt = function getConfigPath = function requestChannelUnsubscribe = function getClientList = function getCurrentServerConnectionHandlerID = function setClientSelfVariableAsInt = function getPluginPath = function urlsToBB = function getServerConnectionHandlerList = function flushChannelUpdates = function getServerVariableAsUInt64 = function requestChannelMove = function getChannelList = function flushChannelCreation = function getServerVariableAsString = function setChannelVariableAsString = function setChannelVariableAsInt = function getResourcesPath = function setPlaybackConfigValue = function requestClientVariables = function getCurrentChatServerConnectionHandlerID = function getClientVariableAsString = function requestChannelSubscribeAll = function getPreProcessorInfoValueFloat = function getEncodeConfigValue = function getClientVariableAsInt = function getChannelOfClient = function getAppPath = function requestClientKickFromChannel = function getPreProcessorConfigValue = function getClientLibVersion = function getErrorMessage = functionLast edited by Neico; 20-12-2009 at 01:02.
-
20-12-2009, 01:09 #2
-= TeamSpeak Fanatic =-
- Join Date
- Sep 2005
- Location
- Germany / Dortmund
- Posts
- 1,282
In the scripts directory there should be a file named ts3events.lua.
Take a look at this file. There you can see the events and at end of file, there is a list with available commands.
-
20-12-2009, 01:11 #3
oh there i only saw the event functions :/
-
20-12-2009, 01:21 #4
-= TeamSpeak Fanatic =-
- Join Date
- Sep 2005
- Location
- Germany / Dortmund
- Posts
- 1,282
Of course, there is a list.
From
toCode:ts3.getClientLibVersion() > version, error
Code:ts3.urlsToBB(textWithURLs) > bbCodeText
-
21-12-2009, 07:48 #5
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Michi
- Posts
- 13
I would have to say that they are almost unreadable too though. See attachment for example.
-
21-12-2009, 11:10 #6
-= TeamSpeak User =-
- Join Date
- Jan 2006
- Location
- Germany
- Posts
- 3
Just use an other Editor like notepad++ and it is readable.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
please help someone
By theundead67 in forum [TeamSpeak 2] Server SupportReplies: 59Last Post: 31-03-2007, 04:53 -
manual installing teamspeak on mandrake
By linux4os in forum [TeamSpeak 2] Client SupportReplies: 6Last Post: 10-04-2004, 11:16 -
finish the new manual
By Bastian in forum [TeamSpeak 2] General QuestionsReplies: 1Last Post: 06-04-2004, 17:02 -
Web Interface Manual
By nightmarepm in forum [TeamSpeak 2] Server SupportReplies: 1Last Post: 08-03-2003, 05:10 -
Manual??
By Matrf in forum [TeamSpeak 2] Server SupportReplies: 1Last Post: 19-09-2002, 15:21




Reply With Quote