Skip to content

Instantly share code, notes, and snippets.

@pepzwee
Created March 26, 2016 15:25
Show Gist options
  • Save pepzwee/8e9b184b645b6a076d2b to your computer and use it in GitHub Desktop.
Save pepzwee/8e9b184b645b6a076d2b to your computer and use it in GitHub Desktop.
var bot = require("alfred-teamspeak")();
//var Gamedig = require('gamedig');
//var async = require('async');
bot.login({
'name': '[BOT] Pubgamers.eu',
'host': 'ts.pubgamers.eu',
'port': 10011,
'loginName': 'serveradmin',
'loginPass': 'xxx',
'sid': 1,
'timeout': 999999999999
}, function() {
bot.registerEvent('server').registerEvent('textserver').registerEvent('textprivate')
});
bot.use('join', function(event, data, next) {
data.user.respond('Tere tulemast [color=orange][b]Pubgamers.eu[b][/color] Teamspeak serverisse!');
data.user.respond('-------------------');
data.user.respond('[color=red][b]Tähelepanu![/b][/color] Palume ühenduda läbi [b]ts.pubgamers.eu[/b] mitte weblisti. DDoS rünnaku puhul katkeb ühendus kõikidel kes ühendusid läbi weblisti.');
data.user.respond('-------------------');
data.user.respond('Kui soovid midagi teada kirjuta siia aknasse:')
data.user.respond('---: !reeglid');
//data.user.respond('---: !csgoserverid');
data.user.respond('---: !abivaja')
data.user.respond('-------------------');
data.user.respond('Meie ametlikud leheküljed:')
data.user.respond('---: Koduleht: www.pubgamers.eu');
data.user.respond('-------------------');
data.user.respond('Soovid lihtsad viisi kuidas enda CS:GO skinne vahetada?')
data.user.respond('Mine lehele: [color=blue][b]https://www.skins.ee[/b][/color]');
next();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment