Results 1 to 15 of 28
Thread: [IN DEVELOPMENT] Lua funscripts
-
26-12-2009, 16:09 #1
-= TeamSpeak Lover =-
- Join Date
- Apr 2007
- Location
- Germany
- Posts
- 98
[RELEASE] Lua funscripts
!!!!! BE AWARE !!!!!
We do not take any responsibility for you getting banned from any server because of flooding!
Finally I release some small Lua-Scripts. These scripts are made by me (some ideas are inspirated by very old IRC-Scripts -> Credits go to the devs of the old scripts!) and I would like to know if somebody changes them and is planning to release it with changes. Hosting, sharing and removing the copyright-text is not allowed!
If you have some ideas what I could include in future versions just let me know and I'll see what is possible
Have fun with these scripts and please don't abuse them for illegal, criminal or bad activites...
Last edited by Lil-rich; 26-12-2009 at 17:55.
-
26-12-2009, 16:10 #2
-= TeamSpeak Lover =-
- Join Date
- Apr 2007
- Location
- Germany
- Posts
- 98
- Informations
- How to install?
- Copy all ".lua"-files and the "sounds"-folder to your scripts directory
- Should be something like "C:\Program Files\Teamspeak 3 Client\plugins\lua_plugin"
- Note: Your "ts3events.lua" will be overwritten!
IF YOU CHANGED ANYTHING IN YOUR "ts3events.lua", you should do the following steps manually:
---------------------------------------------------- - Open the file called "ts3events.lua" with notepad or any other editor
- Line 9-11 should look like that:
Code:require("ts3defs") -- Required require("ts3errors") -- Required require("custom") -- Demonstration and testing. Load this here to avoid having to "/lua load custom.lua" in the client. - Add the following lines AT THE END OF THE FILE:
Code:require("myFunctions") require("funscripts") - It should look like that after you added the lines:
----------------------------------------------------Code:ts3.urlsToBB(textWithURLs) > bbCodeText ]]-- require("myFunctions") require("funscripts") - Start teamspeak as usual and have fun with the scripts
- How to use?
- You can run specific functions by typing "/lua run <functionname> <parameter1> <parameter2> etc."
- You can also trigger events by just typing "!<triggername>" in the chat
- For specific commands have a look at the specific package
- How to install?
- Gamble package
- What is included?
- Game 1: Defuse the bomb
- Game 2: Lottery (NFIY)
- How to use?
- One (e.g. Host) starts a game by typing "/lua run playgame <gameid>"
- Other players respond by a triggering event like "!green" - which events are available will be explained when starting the game
- Available game-IDs:
Code:ID 1 - Defuse the bomb
- What is included?
- Support package
- What is included?
- Answers to most common questions
- Sorry, but this one is only available in german (maybe someone wants to translate all links + descriptions? ^^)
- How to use?
- This package uses triggering events
- Here is a list of all available commands
Code:!TALKPOWER !NOQUERIES !SERVERMANAGER !FEHLERMELDUNG !NOOB !IDIOT !CHEF !MANUAL !WIKI !LICENSE !SERVERMANAGEMENT !SERVERQUERY !FAQ !SOUND !APPSCANNER !SECURITYLEVEL !BETA1ZUBETA2
- What is included?
- Useful functions package
- What is included?
- Some functions that may be useful for you
- How to use?
- This package uses triggering events
- Here is a list of all available commands
Code:!DATE (CAN BE TRIGGERED BY EVERYONE) !TIME (CAN BE TRIGGERED BY EVERYONE) !DATETIME (CAN BE TRIGGERED BY EVERYONE) !AFK
- What is included?
- Picture-"flooding" package
- What is included?
- For now there are only 3 pictures
- How to use?
- Just type the command "/lua run spam <id>" in chat and hit enter
- Available spam-IDs:
Code:ID 1 - a big red heart ID 2 - a big palm ID 3 - a big cactus
- What is included?
- Sound package
- What is included?
- There are a lot of sounds included
- Thanks to "baerlinonline.de" for their soundpacks! (I am allowed to use them)
- How to use?
- First of all: SOUNDS WILL ONLY BE PLAYED IF YOU HAVE INSTALLED THIS ".lua"-MOD!
- So nobody is disturbed because he doesn't hear anything without this mod
Code:!sound|<soundname> (for playing the sound for all people with sound-mod) /lua run playsound <soundname> (for playing the sound just for you)
- Note: Just type in the name, no extension! For file "lol.wav" just type "lol"
- For a list of all available sounds have a look at your "sounds"-folder

- What is included?
- Download
Latest Update: 29.12.2009 00:30 Uhr
Changes of v1.03:
*added spam-check for "!sound|<soundname>"
*changed manual to fix autoloading issues
Changes of v1.0 - v1.02:
- just some small changes I don't remember
Last edited by Lil-rich; 27-01-2010 at 21:25. Reason: implementation changed - new version!
-
27-12-2009, 01:20 #3
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 4
i can´t start the scripts
can you make a How to doo?
sorry 4 my english
-
27-12-2009, 11:26 #4
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Switzerland
- Posts
- 21
nice work dude, very funny

btw: Lottery Script doesnt work, its just spamming
!lottery|n for number nLast edited by FireballCH; 27-12-2009 at 13:17.
-
27-12-2009, 17:33 #5
-= TeamSpeak Lover =-
- Join Date
- Apr 2007
- Location
- Germany
- Posts
- 98
-
28-12-2009, 04:56 #6
-= TeamSpeak Lover =-
- Join Date
- Apr 2007
- Location
- Germany
- Posts
- 98
/new version
So please update for getting some things working that didn't work before xD
-
28-12-2009, 19:31 #7
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 4
Hello
If I / lua run playsound typing lol I hear the sound
What do I have to enter so that others can hear it. When I'm using that! Sound enter nothing happens auser which the input is in the chat.
Sry for my english xD is a translation
-
28-12-2009, 20:44 #8
-= TeamSpeak Lover =-
- Join Date
- Apr 2007
- Location
- Germany
- Posts
- 98
-
28-12-2009, 22:37 #9
-= TeamSpeak Lover =-
- Join Date
- Apr 2007
- Location
- Germany
- Posts
- 98
It seems like the automated loading does not work atm. I need to ask the devs of TS3 why this issue is appearing sometimes.
Just type
"/lua load funscripts.lua"
and it should work fine. But you need to do that everytime you restart the client until I/the devs fixed this issue
Last edited by Peter; 07-04-2010 at 11:49.
-
28-12-2009, 23:08 #10
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 4
Super danke so funktioniert es !
-
28-12-2009, 23:40 #11
-= TeamSpeak Lover =-
- Join Date
- Apr 2007
- Location
- Germany
- Posts
- 98
Update available! I would upgrade and follow the new manual. Very important future added ^^ spam protection for sounds...
Also the automatic start of the script has been fixed
-
30-12-2009, 01:39 #12
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Italy
- Posts
- 2
After changing the nickname you have to flush the client updates!AFK (Doesn't change name yet although it should)
I hope this will be helpfulCode:ts3.setClientSelfVariableAsString(serverConnectionHandlerID, ts3defs.ClientProperties.CLIENT_NICKNAME, "test") ts3.flushClientSelfUpdates(serverConnectionHandlerID) -- You forgot this ;)

Nice scripts ^^
-
30-12-2009, 20:06 #13
-= TeamSpeak Lover =-
- Join Date
- Apr 2007
- Location
- Germany
- Posts
- 98
-
03-01-2010, 00:31 #14
-= TeamSpeak Lover =-
- Join Date
- Apr 2007
- Location
- Germany
- Posts
- 98
Hmm hast du die aktuellste Version? Wenn ja, kannst du bei Interesse ja mal deine ICQ/MSN/Skype Adresse(n) privat oder hier hinterlassen. Dann können wir mal quatschen und evtl. per TeamViewer schauen wo das Problem liegt.
Last edited by Lil-rich; 03-01-2010 at 12:23.
-
07-01-2010, 14:00 #15
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Posts
- 7,763
Stop posting german! Thank you.
Last edited by dante696; 07-01-2010 at 15:22. Reason: typo
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[closed] TS3 - WebInterface
By Waterball in forum ToolsReplies: 43Last Post: 22-08-2011, 10:07 -
[Fixed] Lua Function
By Persane2 in forum ToolsReplies: 2Last Post: 21-12-2009, 02:57 -
Lua Question
By Fitsch in forum ToolsReplies: 4Last Post: 20-12-2009, 19:37


Reply With Quote
