Detect Words #7


  • New
  • Defect
Open
Assigned to _ForgeUser6873949
  • _ForgeUser8264104 created this issue Mar 14, 2013

    Hello, I love this plugin. I would just like to add a small feature request.
    Could you add an ability for it to detect a player saying a word and it will send a command when it hears the word?
    So if I were to set the word wand in the .yml file to run the command //wand, then somebody says dog out loud to everyone, and it runs the command //wand
    thanks

  • _ForgeUser8264104 added the tags New Defect Mar 14, 2013
  • _ForgeUser8264104 edited description Mar 14, 2013
  • _ForgeUser8696085 posted a comment Apr 18, 2013

    With what you saying the config would look something like this correct?

    • chat:
      • wand:
        • text:
          • + "dog"
          • + "dOg"
          • + "doG"
          • + "Dog"
          • + "DOg"
          • + "DOG"
          • + "dOG"
        • 0:
          • - "wand"

    The '+'s are used to distinguish what to search for in chat and the command that it would run.
    If the plugin hears anything the "text" area then it would run the command in the "0" area.


    Edited Apr 18, 2013

To post a comment, please login or register a new account.