View Full Version : How do you run a chat command through console?
03-20-2012, 03:05 AM
I'm particularly looking for a way to get "/friendlychat" run automatically on startup.
Through searching, I think I found a way to run a console command on startup via startup.cfg, but I wasn't able to find out how to execute a chat command via console.
03-20-2012, 08:50 AM
If youre actually mod the files, the ui cmd is:
If u really want to use console use :
03-20-2012, 11:59 AM
Well, I appended my startup.cfg with:
SetSave TeamChat testing
But it doesn't notify me in the chat box that it's been toggled on or off, so I don't know if it's working.
Typing in /fc one time afterwards, it notifies me that friendly chat has just been turned on, which also seems to imply that it wasn't set before.
03-21-2012, 09:53 AM
Im afraid there's a misunderstanding how the startup works...
This file gets loaded only once the game starts (and frequently saved on different events)
However u cant exucte a chat command onshow of the game sub-interface
For that u'll have to edit the game chat package...
Maybe it might be also a possibilty for you to simply use the Macro Assist Mod to send this one line triggerd by a newly defined hotkey...