Wurst7 icon indicating copy to clipboard operation
Wurst7 copied to clipboard

Chat bot for chat iteractions

Open LocalSmail opened this issue 3 years ago • 10 comments

Add a bot to send a message when it says to say xyz or unscramble xyz

Unscramble could take a user input in its settings to save the scrambled word and unscramble (so basically a table) which when that work comes up it would automatically say the word the user set for it within the table.

The say xyz could just take user input for each word inside a separate table and could then just say it when it comes up, like the unscramble (but not as much of a pain I would guess)

Heres an example of the say xyz request

LocalSmail avatar Feb 20 '22 13:02 LocalSmail

I actually made this a few days ago, and been using it since with no problems. I attached some screenshots. Options are min and max delay for the answer which randomly picks something in between, option to not anwser if someone else won, and a third option that "accidentaly" enters that last character of the answer twice (redstonee). javaw_bgDkRFUnsv javaw_zBYRNr1Lx3 javaw_jTNrP4JLiB

Should I submit this?

alexandrosmagos avatar Feb 22 '22 21:02 alexandrosmagos

Submit it!

cakarlen avatar Feb 28 '22 13:02 cakarlen

submit that shit looks well made!

LocalSmail avatar Mar 01 '22 08:03 LocalSmail

@Glutius You still have this code?

cakarlen avatar Aug 25 '22 04:08 cakarlen

I still have the code but didn't publish it since I wanted to make a separate file for the hack to read the questions and answers from, but didn't want to add any more stuff I didn't have to and just left it as is. I can publish the code as is which is usable, and if someone wants to help can do it :)

alexandrosmagos avatar Aug 25 '22 11:08 alexandrosmagos

I'd be more than happy to contribute to it if you'd like to fork and commit it. I can make adjustments from there. Thanks!

cakarlen avatar Aug 25 '22 13:08 cakarlen

https://github.com/Glutius/Wurst7/tree/autoreply Here it is, feel free to contribute to making it read some lines from a config file, and then we can make a pull request :)

alexandrosmagos avatar Aug 25 '22 14:08 alexandrosmagos

I forgot to mention that the code was for 1.18.2, so some adjustments might be needed. And sorry for the sloppy code. This was one of the first java stuff I've worked on. Basically, we need a config file with phrases of the start, won, and end messages of the questions games, along with the questions. And the hard-coded questions would just be replaced with a for loop. @Alexander01998, keep up the awesome work!

alexandrosmagos avatar Aug 25 '22 18:08 alexandrosmagos

@Glutius Thanks! By the way, is that WitchChat server public? Would be useful for testing if I could join it.

Alexander01998 avatar Aug 26 '22 05:08 Alexander01998

Server is public, but they now changed their plugin, using something that has questions & random math. Lookup sentouki

alexandrosmagos avatar Aug 28 '22 10:08 alexandrosmagos

This issue has been open for a while with no recent activity. If this issue is still important to you, please add a comment within the next 7 days to keep it open. Otherwise, the issue will be automatically closed to free up time for other tasks.

Issues should be closed if:

  • They are duplicates of other issues
  • There is not enough demand
  • They are no longer relevant
  • There are not enough details

github-actions[bot] avatar Nov 30 '23 02:11 github-actions[bot]