Why can't you just look to see what ~ is bound to and execute that command? But, when you kick them, they will still see the Disconnected message which hides the console until they click OK
I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).