Execute scripts/code via chat commands by Conroy
Editing and Scripts

Conroy released his Execute scripts/code via chat commands script on the BI forums.

    Quote :
    A little mini-project I worked on, which allows you to intercept and use text, that was typed in the inGame chat-box.

    Any text, that starts with the special intercept character (by default "!"), will be passed on to a function and checked against all available chat-commands.
    If it matches one of the defined commands, the associated code for the command is executed. Any text after the initial command will be passed as an argument to the called function.

    Intercepted text is not sent to other clients and wont clutter up the chat history.

    The current version of the script does not have any extra functions included, apart from the example ones.
    It rather serves as a base to include your own functions and ideas, if you can come up with something interesting or practical.

Written on 2014-07-27 10:32 by Conroy  

User submissions

Submit News Submit Files