Twentysix26 / x26-Cogs

General purpose cogs for Red V3
GNU General Public License v3.0
41 stars 30 forks source link

[Feature request] Defender/Warden: Contextual count variables for the content of messages #56

Open DoctorDinosaur opened 2 years ago

DoctorDinosaur commented 2 years ago

Cog

Describe the feature you'd like to see The following variables for messages (which are already calculated, but not available in filters) to be exposed:

Hence, a system can be created like WickBot, wherin all messages add to a custom heat level, the "badder" the message the more heat, and if a large number is reached action is taken. This is more effective than having individual rules for each element, as their effect can combine.

(E.g. for Wick, 0.08% per lowercase character, 0.12% for uppercase, 3% for emojis, 1.5% for zalgo; going to 100% for punishment)