Community Forums Today's Posts     Member List     Archive    
Page 1 of 2 12 LastLast
Results 1 to 15 of 29
  1. #1
    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.

  2. #2
    Join Date
    Apr 2007
    Location
    Germany
    Posts
    98
    1. 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

    2. 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

    3. 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

    4. 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

    5. 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

    6. 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

    7. 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!

  3. #3
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    4

    Question

    i can´t start the scripts
    can you make a How to doo?

    sorry 4 my english

  4. #4
    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 n
    Last edited by FireballCH; 27-12-2009 at 13:17.

  5. #5
    Join Date
    Apr 2007
    Location
    Germany
    Posts
    98
    Quote Originally Posted by mp3-king View Post
    i can´t start the scripts
    can you make a How to doo?

    sorry 4 my english
    censored german

    Quote Originally Posted by FireballCH View Post
    nice work dude, very funny
    thx

    Quote Originally Posted by FireballCH View Post
    btw: Lottery Script doesnt work, its just spamming

    !lottery|n for number n
    Did you read the whole line here? ^^ NFIY means Not Fully Implemented yet ^^
    Last edited by Peter; 07-04-2010 at 11:49.

  6. #6
    Join Date
    Apr 2007
    Location
    Germany
    Posts
    98
    /new version

    So please update for getting some things working that didn't work before xD

  7. #7
    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

  8. #8
    Join Date
    Apr 2007
    Location
    Germany
    Posts
    98
    Quote Originally Posted by Kengglol View Post
    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
    /lua playsound lol
    should be the same like
    !sound|lol

    The only difference is that the first one is just playing for you and the second one plays the sound for you and for all other players that have this lua-mod enabled.
    Last edited by Peter; 07-04-2010 at 11:49.

  9. #9
    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.

  10. #10
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    4
    Super danke so funktioniert es !

  11. #11
    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

  12. #12
    Join Date
    Dec 2009
    Location
    Italy
    Posts
    2
    !AFK (Doesn't change name yet although it should)
    After changing the nickname you have to flush the client updates

    Code:
    ts3.setClientSelfVariableAsString(serverConnectionHandlerID, ts3defs.ClientProperties.CLIENT_NICKNAME, "test")
    ts3.flushClientSelfUpdates(serverConnectionHandlerID) -- You forgot this ;)
    I hope this will be helpful


    Nice scripts ^^

  13. #13
    Join Date
    Apr 2007
    Location
    Germany
    Posts
    98
    Quote Originally Posted by D4.Ny View Post
    I hope this will be helpful
    Works perfect, thanks I was already wondering why the heck it didn't work xD Need to have a better look at it next time... Special thanks to you.

  14. #14
    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.

  15. #15
    Join Date
    Jun 2008
    Posts
    9,238
    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

  1. [closed] TS3 - WebInterface
    By Waterball in forum Tools
    Replies: 43
    Last Post: 22-08-2011, 10:07
  2. [Fixed] Lua Function
    By Persane2 in forum Tools
    Replies: 2
    Last Post: 21-12-2009, 02:57
  3. Lua Question
    By Fitsch in forum Tools
    Replies: 4
    Last Post: 20-12-2009, 19:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •