What I've always found as the best way to do it is have a weapon that goes like this:
PHP Code:
//#CLIENTSIDE
function onCreated() {
serverwarp("login");
destroy();
}
And then in the DC command just add that weapon to the player that needs to be disconnected.