Lenny Filter Improvement

Improved Lenny Filter to capture more Lennies. Very unlikely these 4 characters will appear in normal text. But are used in a variety of Lenny. Saves us from having to loop 25 times and adapts to various lenny.
This commit is contained in:
Metroid_Skittles 2023-02-10 20:07:45 +00:00
parent aebf120544
commit 4621c1c729

View File

@ -16,9 +16,9 @@ Handle g_hCookieBlockCommands = null;
bool g_bBlockChat[MAXPLAYERS + 1] = { false, ...};
Handle g_hCookieBlockChat = null;
#define NUMBEROFLENNIES 25
#define NUMBEROFLENNIES 4
char g_cLennies[NUMBEROFLENNIES][] = {"( ͡° ͜ʖ ͡°)", "͜ʖ", "(° ͜ʖ °)", "( ͝͠°͜ل͝͠°)", "( ͡° ͜ ͡°)", "( ͡°╭͜ʖ╮͡° )", "( ͠° ͜ʖ ͡°)", "( ° ͜ʖ °)", "(╯°□°)╯", "_(ツ)_", "_ツ_", "( ̿°̿ ͜ل͜ ̿°̿ )", "( ͡", "( ͠", "( ͝", "( °", "", "ಠ_ಠ", "͡°", "°͡", "ʖ", "͡", "͜", "", ()};
char g_cLennies[NUMBEROFLENNIES][] = {"°","","","ʖ"};
//----------------------------------------------------------------------------------------------------
// Purpose: