Results 1 to 13 of 13
-
26-04-2012, 11:29 #1
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Hungary
- Posts
- 422
[REQUEST]Auto-reply to private messages
Hi,
I was searching for a plugin that auto-reply to anybody (private chat) while it is active. For example during gaming or AFK. Do you know a plugin somewhere offering this functionality? Thank you.
-
26-04-2012, 11:45 #2
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- Germany
- Posts
- 2,038
Untested LUA Code. No guarantees whatsoever! Use at your own Risk!Code:local function onTextMessageEvent(serverConnectionHandlerID, targetMode, toID, fromID, fromName, fromUniqueIdentifier, message, ffIgnored) local response = "You managed to send me a private Message" if targetMode = ts3defs.TextMessageTargetMode.TextMessageTarget_CLIENT then ts3.requestSendPrivateTextMsg(serverConnectionHandlerID, response, fromID) end end
-
30-04-2012, 03:36 #3
-= TeamSpeak User =-
- Join Date
- Oct 2011
- Location
- United States
- Posts
- 16
I've created the plugin for you so you don't have to worry about messing with everything. I won't be supporting it after this point in development however. It currently works for Win32 and Win64 bit versions of teamspeak 3 (API 16). I'm also including the source code in the download if anyone wants to make their own custom version of the plugin. As long as this plugin is turned on, it automatically sends a reply to anyone who sends you a PM. There is an auto-installer included so just run Auto-Responder.ts3_plugin after unzipping the download to install the plugin. Hope this helps you guys.
-
01-05-2012, 03:15 #4
-= TeamSpeak Addict =-
- Join Date
- Jul 2010
- Location
- Chicago
- Posts
- 102
Doesn't test_plugin.dll do just this?
-
01-05-2012, 03:21 #5
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- Germany
- Posts
- 2,038
No it does not, it has example Code in the Source but this Code part is disabled as it would be a nightmare!
What it does (and that is annoying enough) is to send a PM when you get poked.
-
01-05-2012, 05:45 #6
-= TeamSpeak User =-
- Join Date
- Apr 2012
- Posts
- 3
thanks domert its really helpful, i was looking for a lua one , but yours is just what i needed, the problema will be if they update again the API :l
-
01-05-2012, 08:42 #7
-= TeamSpeak User =-
- Join Date
- Oct 2011
- Location
- United States
- Posts
- 16
I (or another programmer) should be able to recompile the code really quick into the new API. That's one of the reasons I provided the source code. I just don't want to support any extra functionality. If someone wanted to pick up the project where I left off they could do things like letting users customize their own message, maybe have multiple messages that are linked to the plugin hotkeys. Maybe even add in a timer to kick in or detect when you're playing certain games in the process list. But since I kept seeing people ask for something like it I just threw a basic one together. I don't know LUA or I would have given you that one.
I can tell you that the LUA script doesn't seem to have any sort of check in place to ignore when you (the plugin user) send a private message. So the outcome of that script would most likely be someone sends you a message, the auto-reply sends one back which triggers the script and sends a message from you to you with the auto-reply which it then replies to and replies to and replies to (you get the idea).
-
01-05-2012, 12:06 #8
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- Germany
- Posts
- 2,038
You can easily accommodate for this contingency by checking your ClientID against the sender Client ID and only act if they are different.
-
01-05-2012, 18:41 #9
-= TeamSpeak User =-
- Join Date
- Oct 2011
- Location
- United States
- Posts
- 16
-
01-05-2012, 21:35 #10
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- Germany
- Posts
- 2,038
Yeah indeed I didn't put that in when I quickly put that Code up there... Disclaimer and Warning is there for a Reason

It also won't work all by itself, one would need to create the outer shell for ts to load and work with it.
-
03-05-2012, 11:31 #11
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Hungary
- Posts
- 422
Thank you all for your help, works like a charm!
-
03-05-2012, 20:28 #12
-= TeamSpeak User =-
- Join Date
- Oct 2011
- Location
- United States
- Posts
- 16
No problem, happy to help out when I can. If you want to show some love, just click the reputation button and add to my rep.
-
22-10-2012, 08:32 #13
-= TeamSpeak User =-
- Join Date
- May 2012
- Posts
- 5
Hi,
can anyone compile the plugin for API 18? Or tell me how I can do that?
Regards,
fusi
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
private messages
By backdrop001 in forum General QuestionsReplies: 2Last Post: 11-07-2011, 08:11 -
[Question] private messages
By BlueRey in forum Permission SystemReplies: 7Last Post: 22-03-2010, 21:11 -
blocking Private Messages
By eggman2099 in forum [TeamSpeak 2] Client SupportReplies: 1Last Post: 28-08-2008, 17:44


Reply With Quote
