• Force Open Chat?
    3 replies, posted
Is there a way to force open the chatbox? And if you can, is there also any way you can insert text into it that the user does not have to type? I'm trying to make it easier to PM users on a server, so my plan was going to be to open the chatbox and have '/pm <username>' already there.
You can't directly insert text unless it's a custom chatbox. There is an OnChatTab hook that you can insert text when the client presses tab.
I think it was granpc who said if you run "say" on the client without any arguments it will open the default chatbox.
[QUOTE=vexx21322;41405998]You can't directly insert text unless it's a custom chatbox. There is an OnChatTab hook that you can insert text when the client presses tab.[/QUOTE] [QUOTE=Aide;41406035]I think it was granpc who said if you run "say" on the client without any arguments it will open the default chatbox.[/QUOTE] Thanks guys. Unfortunately, running "say" didn't do anything, at least with RunConsoleCommand it didn't. I will just go about it a different way.
Sorry, you need to Log In to post a reply to this thread.