All pastes #251057 Raw Edit

$5 script :P

public javascript v1 · immutable
#251057 ·published 2006-11-17 18:38 UTC
rendered paste body
add the following code to the bottom of init.js from the chattytunes script:function setsongstatus() {	try {        var songstatus = getTrackTitle();    }     catch (ex)     {        var songstatus = "No song playing...";    }    if (songstatus === "" || songstatus == null) {        songstatus = "No song playing...";    }    client.defaultStatus=songstatus;}also put:var interval_id;interval_id = window.setInterval(setsongstatus, 5000);in the enable_plugin functionand add:window.clearInterval(interval_id);to the disable_plugin function