SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: How do you run a chat command through console?

Results 1 to 4 of 4
  1. #1

    How do you run a chat command through console?

    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.

  2. #2
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Aug 2010
    Location
    Germany, Bavaria
    Posts
    898
    If youre actually mod the files, the ui cmd is:
    TeamChat(stringWithYourChatMessage);
    If u really want to use console use :
    TeamChat message
    Last edited by St0l3n_ID; 03-20-2012 at 08:10 AM.
    If you see me talking about bots, be aware im not a S2 representative.

    -------

    Take a look at my lua tutorial series i made especially for bots

    -------

    Take a look at my mods
    or/and follow me on Twitter for Mod-Updates and News
    Now enjoy the improved HoN!

    ---

    I'm lazy.

  3. #3
    Okay, thanks.

    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.

  4. #4
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Aug 2010
    Location
    Germany, Bavaria
    Posts
    898
    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...
    If you see me talking about bots, be aware im not a S2 representative.

    -------

    Take a look at my lua tutorial series i made especially for bots

    -------

    Take a look at my mods
    or/and follow me on Twitter for Mod-Updates and News
    Now enjoy the improved HoN!

    ---

    I'm lazy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •