translate

foundationI_fluffos_v1/lib/doc/SimulEfun/translate · 599 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

Nightmare Mudlib 3.2 SimulEfun: translate()

string translate(string, int);

DESCRIPTION
Translates a raw string into garble based on a given linguistic proficiency
passed as the second argument.  A value of 1 means the entire string is
pretty much mangled.  A value of 10 leaves the original string in tact.

EXAMPLES
translate("This is a test string.", 5) might return "This womble foo a bing
  string."

Also: generally used in the form:
translate(str, (int)this_player()->query_lang_prof(language));
where language is some language or another (a string).

LOCATION
/secure/SimulEfun/translate.c

Site Stats

Snippets: 1791
Codebases: 571