User Tools

Site Tools


touchbound_system:conditioner

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
touchbound_system:conditioner [2017/01/23 15:40] – [Capabilities] added microscript/substitute/whisper kyrahabattoirtouchbound_system:conditioner [2018/09/18 14:38] – Removed return link kyrahabattoir
Line 1: Line 1:
-[[:start|<<Return to the table of content]] 
 ^  {{:touchbound_system:conditioner.png?nolink}}  ^ ^  {{:touchbound_system:conditioner.png?nolink}}  ^
 | Chat Conditioner | | Chat Conditioner |
Line 38: Line 37:
    * How many capitalized words are allowed to bypass filtering (useful to allow the wearer to call people by their name)    * How many capitalized words are allowed to bypass filtering (useful to allow the wearer to call people by their name)
    * Restrict the wearer to a maximum number of syllables per word.    * Restrict the wearer to a maximum number of syllables per word.
 +   * Restrict the wearer to a maximum number of words per chat line.
    * Rename the wearer.    * Rename the wearer.
    * Completely prevent chat.    * Completely prevent chat.
Line 47: Line 47:
    * Replace a set of words by another.    * Replace a set of words by another.
    * Whether disallowed words should be muted individually or if the entire chat line should be blocked.    * Whether disallowed words should be muted individually or if the entire chat line should be blocked.
 +   * Trigger keywords and word sequences can be added to automatically switch preset even when locked.
 +
 +//Note: The triggers are picked up from avatars and objects in local chat, excluding the wearer and any object owned by the wearer.//
 ====== The configuration file ====== ====== The configuration file ======
 //Note: The configuration file may take a while to be parsed by the chat conditioner. You can speed it up by removing most of the comments and empty lines once you designed a configuration that you like.// //Note: The configuration file may take a while to be parsed by the chat conditioner. You can speed it up by removing most of the comments and empty lines once you designed a configuration that you like.//
Line 73: Line 76:
 FORCELIST_ADD=sir,madam FORCELIST_ADD=sir,madam
 FORCELIST_ADD=miss,mister FORCELIST_ADD=miss,mister
 +
 +//Word substitution: If enabled, any word found in the SOURCE list will be replaced by the matching word in the REPLACE list.
 +SOURCE_ADD=mew,reasonable
 +REPLACE_ADD=woof,ludicruous
  
 //Renamer: Which name will be used by the chat restrictor //Renamer: Which name will be used by the chat restrictor
Line 89: Line 96:
 //Uppercase allowance: Because it isn't possible to reliably detect when someone is using a name instead of a word, this option determinates how many words are allowed to bypass all filters if they start with an uppercase letter when WHITELIST is active. //Uppercase allowance: Because it isn't possible to reliably detect when someone is using a name instead of a word, this option determinates how many words are allowed to bypass all filters if they start with an uppercase letter when WHITELIST is active.
 ALLOWUPPERCASE=5; ALLOWUPPERCASE=5;
 +
 +//Maximum word count: if MUTEWORD is enabled, this will limit the number of words the wearer can use in a single chat line.
 +MAXWORDCOUNT=10
 +
 +//Radio frequency: If RADIOONFAIL is enabled, a radio message will be sent on this frequency.
 +//valid frequencies go from 88.1 to 108.1
 +RADIO=98.7
  
 //The following key words can be useds for each preset: //The following key words can be useds for each preset:
Line 103: Line 117:
 //MUTESYLL: Will mute the entire sentence if one word is over the syllable limit, otherwise, only the offending word will be muted. //MUTESYLL: Will mute the entire sentence if one word is over the syllable limit, otherwise, only the offending word will be muted.
 //MUTEONFAIL: Will mute the entire sentence if the blacklist/whitelist is triggered, otherwise, only the offending word will be muted. //MUTEONFAIL: Will mute the entire sentence if the blacklist/whitelist is triggered, otherwise, only the offending word will be muted.
 +//RADIOONFAIL: If the blacklist/whitelist/wordlimit/syllable limit is triggered, can be used to trigger an OpenRC device (The KDC shock collar for instance).
 //LOWERCASE: Will lowercase the final text output. //LOWERCASE: Will lowercase the final text output.
 //WHISPER: This will force the wearer to whisper. //WHISPER: This will force the wearer to whisper.
 +//WORDLIMIT: Will limit the number of words per chat line.
 +//MICROSCRIPT: This will reformat the wearer's text to use microscript (warning, this is almost unreadable).
 +//SUBSTITUTION: This will automatically substitute words in the substitution list by the matching replacement word.
  
 //Each buttons and the default (no buttons engaged) can be configured to enable 0 or more of the filters. //Each buttons and the default (no buttons engaged) can be configured to enable 0 or more of the filters.
Line 121: Line 139:
  
 //All the filters are executed in a specific order: //All the filters are executed in a specific order:
-//MUTEEMOTE,CUTEMOTE,MUTE,(ALLOWNAME),(ALLOWUPPERCASE),FORCELIST,WHITELIST,BLACKLIST,SYLLABLE+//MUTEEMOTE,CUTEMOTE,MUTE,(ALLOWNAME),(ALLOWUPPERCASE),FORCELIST,SUBSTITUTION,WHITELIST,BLACKLIST,SYLLABLE,WORDLIMIT,MUTEWORD,MICROSCRIPT,RADIOONFAIL 
 + 
 +//Presets can be automatically changed using trigger messages said in local chat even when locked. 
 +//triggers can contain spaces but have to be in lowercase. Multiple triggers can be defined by separating them with commas. 
 +DEFAULT_TRIGGER=reset,default 
 +PRESET1_TRIGGER=load preset 1,set 1,engage 
 +PRESET2_TRIGGER= 
 +PRESET3_TRIGGER=
 </code> </code>
 ===== Default button icons ===== ===== Default button icons =====
touchbound_system/conditioner.txt · Last modified: 2021/07/22 22:53 by kyrahabattoir