plugin.id = "kick-list";
plugin.init =
function _init( glob ) {
plugin.major = 1;
plugin.minor = 0;
plugin.version = plugin.major + "." + plugin.minor + " (11 Oct 2009)";
plugin.description = "kick-list to network tab. " +
"By MakOke <gboxlan@gmail.com>";
return "OK";
}
plugin.enable =
function _enable() {
client.eventPump.addHook( [{set:"channel", type:"kick"}], kickHook, "kickHook" );
return true;
}
plugin.disable =
function _disable() {
client.eventPump.removeHookByName( "kickHook" );
return true;
}
function kickHook( e ) {
e.server.parent.displayHere( e.params[0] + ' ' + e.params[1] + ' ' + e.params[2] + ' by ' + e.user.encodedName + ': ' + e.params[3] );
}
Download File kick-list.js 703 bytes