Make NPC react on Player Chat menu

User Tag List

Results 1 to 4 of 4
  1. #1
    jbr373's Avatar Corporal
    Reputation
    57
    Join Date
    Jan 2011
    Posts
    30
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Make NPC react on Player Chat

    Good Evening

    I would like to know if it's possible to make an NPC perform an Action when a Player types and sends something with the /say channel.
    Like, if a Player types "Hello" near the NPC which triggers the NPC script to reply with DoScriptText();

    I couldn't find anything with Google, and void OnChat([...]) as well as void CheckMessage([...]) aren't working.

    Thanks in advance for any help!

    Make NPC react on Player Chat
  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    You need to hook on chat. But Trinity broke it last time I checked, so you would have to directly hardcode it into the emulator or report the bug to trintiy if it still exists then use the hook.

  3. #3
    jbr373's Avatar Corporal
    Reputation
    57
    Join Date
    Jan 2011
    Posts
    30
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I guess you mean something like this?

    [C++] World Chat System - Updated - Pastebin.com

    but would it be possible to do something like this on cMaNGOS as well? I never really used TrinityCore.

  4. #4
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Of course, it's the same concept.

Similar Threads

  1. make Npc's dissapear
    By stickynicky21 in forum WoW EMU Exploits & Bugs
    Replies: 3
    Last Post: 02-23-2008, 06:12 AM
  2. [Service] Will Make Npc Teleporter
    By ~SaiLyn~ in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 02-20-2008, 03:23 PM
  3. Make npcs yell things?
    By Noobcraft in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-22-2008, 03:39 AM
  4. How do I make npcs?
    By noobert in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 09-04-2007, 02:38 PM
  5. Make NPC Guards Mad!
    By Tbone in forum World of Warcraft Exploits
    Replies: 19
    Last Post: 07-14-2006, 10:34 PM
All times are GMT -5. The time now is 10:40 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search