1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Participate in Blizzard's Public Test Realm to give them feedback on the upcoming patches. Info is here.
    Dismiss Notice
  3. Take part in forum poll and decide the winner of Icon Contest #16!
    Dismiss Notice
  4. Congratulate the winners of the first ATC contest!
    Dismiss Notice
  5. Zwiebelchen is hosting a special UI texturing contest. Whomever wins will get a $150 reward through paypal! Come along and draw your texturing tools for the Fantastic Adventurer UI contest.
    Dismiss Notice
  6. Sneak, pickpocket and assassinate! Create a stealth map in Mini-Mapping Contest #14!
    Dismiss Notice
  7. Music Contest #8 - Hive Soundtrack is up! Create the soundtrack for the upcoming videos of Hive Workshop's YouTube Channel.
    Dismiss Notice

Cause Chat to not contain sent message.

Discussion in 'World Editor Help Zone' started by khamarr3524, Mar 30, 2012.

  1. khamarr3524

    khamarr3524

    Joined:
    Apr 23, 2011
    Messages:
    450
    Resources:
    1
    Spells:
    1
    Resources:
    1
    How can I make it so when a player types a message, it won't appear in the chat log?
     
  2. Lifee_72

    Lifee_72

    Joined:
    Mar 5, 2009
    Messages:
    246
    Resources:
    0
    Resources:
    0
    Edit : Nvm
     
  3. khamarr3524

    khamarr3524

    Joined:
    Apr 23, 2011
    Messages:
    450
    Resources:
    1
    Spells:
    1
    Resources:
    1
    Just for clarification, I want to know how to properly stop a message from being "sent" so it wont appear in the chat log (F12).
     
  4. Vladadamm

    Vladadamm

    Joined:
    Apr 19, 2011
    Messages:
    1,258
    Resources:
    8
    Maps:
    5
    Spells:
    3
    Resources:
    8
  5. khamarr3524

    khamarr3524

    Joined:
    Apr 23, 2011
    Messages:
    450
    Resources:
    1
    Spells:
    1
    Resources:
    1
    I'm not even sure if that does anything period o.o... and it's so messy. I already made it so messages won't display. My problem is making a message not be recorded in the chat log. or log. selected by hitting F12. I'm certain this is possible.
     
  6. khamarr3524

    khamarr3524

    Joined:
    Apr 23, 2011
    Messages:
    450
    Resources:
    1
    Spells:
    1
    Resources:
    1
    *Bump*

    Anyone have any Idea? I've been looking around to no avail. I'm not certain if this is a script thing or an interface thing o.o
     
  7. Hashjie

    Hashjie

    Joined:
    Apr 20, 2009
    Messages:
    1,515
    Resources:
    0
    Resources:
    0
    You'll need to save the "forbidden" words inside a string array.
    Then you'll have to create an algorithm that checks the entered chat string for words contained within the entered chat string that equals the string array.
    This can be done through character positions. You'll need to loop through them. You can then show the filtered chat string to the players.

    It's not easy to script this...
    I'm sorry but I don't have enough time to do this for you.
    Do you have experience with Jass?
    It's probably easier doing this in Jass then in GUI.
    I can give you guidelines, but that's all I can do for now.

    About the chat log: I'm not sure if this is possible, I'll have to look around...
     
  8. jim7777

    jim7777

    Joined:
    May 27, 2009
    Messages:
    481
    Resources:
    7
    Maps:
    2
    Spells:
    5
    Resources:
    7
    1 word = impossible
     
  9. Hashjie

    Hashjie

    Joined:
    Apr 20, 2009
    Messages:
    1,515
    Resources:
    0
    Resources:
    0
    You are probably correct about the chat log here.
    But not about the chat message being displayed.

    EDIT: seems like you're incorrect.
     
    Last edited: Apr 2, 2012
  10. nedio95

    nedio95

    Joined:
    Mar 24, 2011
    Messages:
    563
    Resources:
    1
    Spells:
    1
    Resources:
    1
    It is possible. I dont know how its done through... As example I can give The Thing. There messages are not displayed as chat messages but like system messages and they dont appear in the chat log.
     
  11. Hashjie

    Hashjie

    Joined:
    Apr 20, 2009
    Messages:
    1,515
    Resources:
    0
    Resources:
    0
  12. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    9,042
    Resources:
    8
    Spells:
    8
    Resources:
    8
    This is not a perfect but its the best i can think of without the editor.simply clear screen from text messages. Yes it will remove other messages too but...
     
  13. khamarr3524

    khamarr3524

    Joined:
    Apr 23, 2011
    Messages:
    450
    Resources:
    1
    Spells:
    1
    Resources:
    1
    Unfortunately this solution is directly conflicting with the system. Thank you all for your comments, I guess the only true solution for this system is to use OBS chat so no one can see the messages you send privately (Other than you).