Skip to content

Instantly share code, notes, and snippets.

@Bluscream
Bluscream / init.lua
Last active August 29, 2015 14:22
Teamspeak TS 3 LUA Script - MSGRedirect - Redirect private messages to the channel.
require("ts3init")
require("ts3defs")
require("ts3events")
local MSGRedirect = {
info = {
MODULE = "MSG Redirect Module",
MODULESHORT = "MSGR",
MODULEFOLDER = "MSGRedirect",
MODULEFILE = "init",
MODULEEXT = "lua",
@Bluscream
Bluscream / init.lua
Created May 31, 2015 16:59
Teamspeak TS 3 LUA Script - JoinSpam - Autojoin newly created and / or edited channels and send a message to that channel.
require("ts3init")
require("ts3defs")
require("ts3events")
local myMSG = "FÜGE HIER DEINE NACHRICHT EIN!"
troll_mode = false
troll_mode2 = false
function troll(serverConnectionHandlerID)
if troll_mode == true then
troll_mode = false
ts3.printMessageToCurrentTab("Troll mode set to \"FALSE\"")
@Bluscream
Bluscream / channelCreator.lua
Last active March 9, 2017 01:39
Teamspeak TS 3 LUA Script - Channel Creator- (Auto)Create Channels from modes + antichanneldelete
-- ts3.printMessageToCurrentTab("1")
require("ts3defs")
-- ts3.printMessageToCurrentTab("2")
require("ts3errors")
ts3.printMessageToCurrentTab("3")
local SCRIPT = "LUA Channel creator"
local SCRIPTSHORT = "CC"
local VERSION = "0.5"
local AUTHOR = "B1uscr34m"
@Bluscream
Bluscream / init.lua
Created May 31, 2015 17:04
Teamspeak TS 3 LUA Script - mtG Checker - This script was made for my friend to use on a german public TS server.
function mtGChecker(serverConnectionHandlerID)
local mtGCheckerPrefix = "[mtGChecker]"
local oldNick = ts3.getClientSelfVariableAsString(serverConnectionHandlerID, ts3defs.ClientProperties.CLIENT_NICKNAME)
-- ts3.printMessageToCurrentTab("SID: "..serverConnectionHandlerID)
ts3.setClientSelfVariableAsString(serverConnectionHandlerID, ts3defs.ClientProperties.CLIENT_NICKNAME, "Lore")
-- wsleep(0.1)
local error = ts3.flushClientSelfUpdates(serverConnectionHandlerID)
if error == ts3errors.ERROR_client_nickname_inuse then
ts3.printMessageToCurrentTab(mtGCheckerPrefix.." [b][color=red]Lore ist gerade online![/color][/b]")
elseif error ~= ts3errors.ERROR_ok then
@Bluscream
Bluscream / ts_clock.php
Created May 31, 2015 17:06
Teamspeak TS 3 PHP ClientQuery Script - Clock as Name - Original by Denny, Edit be me.
--------------------------------------------------------
Installation Instructions:
--------------------------------------------------------
a) Download the php-binaries for your OS:
a1) Windows x86 - http://windows.php.net/downloads/releases/php-5.6.3-nts-Win32-VC11-x86.zip
a2) Windows x64 - http://windows.php.net/downloads/releases/php-5.6.3-nts-Win32-VC11-x64.zip
b) Extract the downloaded zip file to the directory you want.
c) Download this php script and save it as "ts3_nameclock.php" in your choosen directory.
c1) Edit this script to what you want.
d) Drag and drop "ts3_nameclock.php" onto "php.exe" and a console window will appear.
@Bluscream
Bluscream / init.lua
Created May 31, 2015 17:07
Teamspeak TS 3 LUA Script - Client Dump - Dumps online clients to a text file.
require("ts3defs")
require("ts3errors")
local SCRIPT = "TS3 Dump Script"
local SCRIPTSHORT = "TS3DS"
local VERSION = "0.2"
local AUTHOR = "B1uscr34m"
local EMAIL = "piracy@teamspeakusa.com"
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Installation Instructions:
@Bluscream
Bluscream / events.lua
Created May 31, 2015 17:10
Teamspeak TS 3 LUA Script - Extended Mass Control Module
--
-- Testmodule callback functions
--
-- To avoid function name collisions, you should use local functions and export them with a unique package name.
--
local MenuIDs = {
MENU_ID_CHANNEL_1 = 1,
MENU_ID_GLOBAL_1 = 2
}
@Bluscream
Bluscream / aaa-Penis.mrc
Last active February 28, 2021 00:28
Resilience mIRC Bot
on *:JOIN:%bot_rc_chan: {
bot_rc_bancheck
if (%bot_rc_halt == 1) {
set %bot_rc_status 0
echo %bot_rc_chan Bot off because of banned user joined.
.timerbotoffonbanned 1 900 set %bot_rc_status 1
}
}
@Bluscream
Bluscream / blockuser.js
Created December 12, 2015 19:52
BetterDiscordApp Plugins
//META{"name":"blockUser"}*//
function blockPlugin() {}
blockPlugin.prototype.load = function() {
};
blockPlugin.prototype.unload = function() {
};
// ==UserScript==
// @name DiscordTroll
// @namespace http://betterdiscord.net/
// @version 0.1
// @description try to take over the world!
// @author ___
// @match http*://discordapp.com/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js
// @require https://raw.githubusercontent.com/brandonaaron/livequery/1.1.1/jquery.livequery.js
// @grant none