Velaxers
Member
where to place this script lol? sorry I'm a noobOkay had an old thread from ts2... changed it.
Code:registerPlugin({ name: 'SetBotSongName', version: '1.01', description: 'Implements the function of setting the nick to current title.', author: 'Bjoern T', vars: {} }, function (sinusbot, config) { sinusbot.on('track', function(ev) { var nick = ev.title + ' - ' + ev.artist; if (nick.length > 30){ nick = nick.substring(0,29); } setNick(nick); }); });
Edit: oh forgot scripts only works for Linux, I'm windows.
Last edited: