antisqeal.c

dw_fluffos_v1/lib/std/shadows/curses/antisqeal.c · 661 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

/* Antisqeal - Stolen from the chef curse by terano, add them as you think of 
 * them :)
 * 
 */

inherit "/std/effect_shadow";

string *replace_matrix =  ({
"kewl", "cool",
"l33t", "elite",
" ur ", "your",
" r ", " are ",
" u ", " you ",
" y ", " why ",
"2", "two",
"4", "for",
"sum", "some",
"wut", "what",
"z", "s",
"Z", "s",
"k", "c",
"K", "c",
"wif", "with",
"werk", "work" });

#ifdef 0
string mangle_speech( string s ) {
    string s1;

    s1 = player->mangle_speech( s ); return replace( " " + (stringp(s1)?s1:s), 
    replace_matrix)[1..10000]; }
/* mangle_speech() */
#endif

string mangle_chat( string s ) {
  return replace(s, replace_matrix);
}

Site Stats

Snippets: 1791
Codebases: 571