Not tested, but try this:
(This is a clientside script, so load it as one)
function onClientCommand( cmd, text )
{
if ( cmd == "reconnect" )
{
Message("Reconnect is disabled. Please quit, and rejoin if you want to reconnect.");
return 0;
}
return 1;
}