Join you, this script would be useful. Perhaps, someone of the guys will take up writing this script...So maybe a feature where the nickname of the bot would change to the music that's currently playing? It would be a cool feature.
Its possible? :OAlready possible via scripting. I'll move it there.
I will wait with no patience, and I hope it will work...i do it D:
registerPlugin({
name: 'SetBotSongName',
version: '1.0',
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 > 20){
nick = nick.substring(0,19);
}
setNick(nick);
});
});
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);
});
});
I've been waiting for this script, I thank you from the all heart dude !Okay had an old thread from ts2... changed it.
Okay 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); }); });