Results 1 to 7 of 7

Thread: Hello, I need help. Responding to a message in the chat.

  1. #1
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts

    Hello, I need help. Responding to a message in the chat.

    Hello, not long ago I saw a server plugin or script that made ​​the console player. but it can not be seen in the table. console responded to numerous reports in her address. I need help how to make a script that will be triggered by a message in the chat.
    for example:
    Unkown Soldier: hi all //chat
    message = "hi all";
    if (say == message)
    {
    //script.
    }
    Or if you know, tell me this plugin, I remember that the first time I saw him on the SD server cod2 1.3.
    thank you in advance.

  2. #2
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts

  3. #3
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    malyczolg the answer you gave me, is only supported with libcod? or can do without it??

  4. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    There is no way to accomplish this without libcod, unless you are willing to dig really, really deep into games_mp.log, link it to a scriptdata file, have continuous logging enabled etc. By that time, you might as well install libcod and save yourself the trouble mentioned above.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  5. #5
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    IzNoGoD Thank you, could you tell me about LIBCOD and install it without reference to another topic, and namely himself. Thanks in advance.

  6. #6
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by maxdamage99 View Post
    IzNoGoD Thank you, could you tell me about LIBCOD and install it without reference to another topic, and namely himself. Thanks in advance.

    Your sentence doesnt make much sense in my head.

    If you wanna install libcod, go take a look at the libcod github. Your best bet (for compatibility) is to compile it from source, aka ./doit.sh clean ./doit.sh base ./doit.sh cod2_1_YOURVERSIONHERE, then preloading your cod2_lnxded serv with the resulting .so file.

    If at any step you get stuck, please create a topic in the libcod subsection of this forum, there are plenty of people who are willing to help here (but, then again, we all have no patience for incompetence)
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  7. The Following User Says Thank You to IzNoGoD For This Useful Post:

    kung foo man (29th October 2014)

  8. #7
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    IzNoGoD thx, I'll try, but still, you do not have a finished script "bot console"

Posting Permissions

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