touchbound_system:conditioner
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
touchbound_system:conditioner [2016/06/21 12:16] – kyrahabattoir | touchbound_system:conditioner [2021/07/22 22:53] (current) – kyrahabattoir | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[: | + | ^ {{: |
- | ^ {{: | + | |
| Chat Conditioner | | | Chat Conditioner | | ||
====== Supported TouchBound functions ====== | ====== Supported TouchBound functions ====== | ||
Line 14: | Line 13: | ||
* The rightmost button is the configuration button. | * The rightmost button is the configuration button. | ||
====== Configuration ====== | ====== Configuration ====== | ||
- | By clicking the configuration button, you will be presented with 3 options: | + | {{ : |
LOAD: Used to load a new configuration notecard. This is done by supplying a notecard UUID, which you can get by right-clicking the notecard in your inventory and choosing "copy asset UUID". | LOAD: Used to load a new configuration notecard. This is done by supplying a notecard UUID, which you can get by right-clicking the notecard in your inventory and choosing "copy asset UUID". | ||
Line 26: | Line 25: | ||
The chat conditioner will show a **red** symbol on the configuration button when this happens. | The chat conditioner will show a **red** symbol on the configuration button when this happens. | ||
====== Presets ====== | ====== Presets ====== | ||
- | The Chat Conditioner can hold a total of 4 presets, each with their own button icon. | + | {{ : |
In practice however, there are only 3 buttons, the 4th preset is engaged when NONE of the buttons are pressed down. | In practice however, there are only 3 buttons, the 4th preset is engaged when NONE of the buttons are pressed down. | ||
Line 32: | Line 31: | ||
Buttons can only be accessed when the chat conditioner core is unlocked. | Buttons can only be accessed when the chat conditioner core is unlocked. | ||
====== Capabilities ====== | ====== Capabilities ====== | ||
- | * The "force list" adds a list of words that have to be used in each chat line to be allowed to talk (one of the words at least has to be used) | + | * The "force list" adds a list of words that have to be used in each chat line to be allowed to talk (at least one has to be used) |
* Blacklist a selection of words that are not allowed in chat. | * Blacklist a selection of words that are not allowed in chat. | ||
* Whitelist a selection of words to be the only words that the wearer is allowed to use. | * Whitelist a selection of words to be the only words that the wearer is allowed to use. | ||
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. | ||
* Restrict emote length. | * Restrict emote length. | ||
* Block emotes. | * Block emotes. | ||
+ | * Force text to lowercase. | ||
+ | * Convert chat messages to microscript ᵐᶦᶜʳᵒˢᶜʳᶦᵖᵗ. | ||
* Force the wearer to whisper. | * Force the wearer to whisper. | ||
+ | * 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 ====== | ||
+ | //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.// | ||
+ | |||
+ | When you wish to load a specific configuration in the chat restrictor, you do so by providing it with the **UUID** of the notecard. **The notecard does NOT have to be in the Chat Conditioner' | ||
+ | |||
+ | The UUID of a notecard will change everytime it is saved. | ||
+ | ===== Sample ===== | ||
+ | < | ||
+ | ////////////////////////////////////////////// | ||
+ | // KDC Chat Restrictor configuration file // | ||
+ | // Copyright 2016 KDC: Kyrah Design Concept // | ||
+ | ////////////////////////////////////////////// | ||
+ | |||
+ | //>All lines starting with "//" | ||
+ | //>All wordlists are separated by commas and in lowercase. | ||
+ | //>LSL notecard lines can't be read past 256 characters, use multiple entries if you run out of space. | ||
+ | |||
+ | //Word blacklist: If enabled, those words cannot be used by the user. | ||
+ | BLACKLIST_ADD=shit, | ||
+ | |||
+ | //Word whitelist: If enabled, only those words can be pronounced by the user. | ||
+ | WHITELIST_ADD=yes, | ||
+ | |||
+ | //Word forcelist: If enabled, at least one of those words MUST be used in each chat line. | ||
+ | FORCELIST_ADD=sir, | ||
+ | FORCELIST_ADD=miss, | ||
+ | |||
+ | //Word substitution: | ||
+ | SOURCE_ADD=mew, | ||
+ | REPLACE_ADD=woof, | ||
+ | |||
+ | //Renamer: Which name will be used by the chat restrictor | ||
+ | //Will use the wearer' | ||
+ | //You can set it to anything you want, but remember that scripts | ||
+ | //Cannot use special characters for names. | ||
+ | //You can also use the following special codes (without quotes): | ||
+ | //" | ||
+ | //" | ||
+ | NAME= | ||
+ | |||
+ | //Syllable counter: You can limit allowed words based on how many syllables are in them. | ||
+ | //Note that the syllable counter is designed for the english language and is not 100% accurate. | ||
+ | SYLLABLES=5 | ||
+ | |||
+ | //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 | ||
+ | |||
+ | //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: | ||
+ | // | ||
+ | // | ||
+ | // | ||
+ | //RENAME: Will use the renamer. | ||
+ | //SYLLABLE: Will enable syllable limits. | ||
+ | //MUTE: The wearer will only be able to say " | ||
+ | // | ||
+ | //CUTEMOTE: The wearer emotes will be limited. | ||
+ | // | ||
+ | // | ||
+ | //MUTESYLL: Will mute the entire sentence if one word is over the syllable limit, otherwise, only the offending word will be muted. | ||
+ | // | ||
+ | // | ||
+ | // | ||
+ | //WHISPER: This will force the wearer to whisper. | ||
+ | // | ||
+ | // | ||
+ | // | ||
+ | |||
+ | //Each buttons and the default (no buttons engaged) can be configured to enable 0 or more of the filters. | ||
+ | //In this example configuration, | ||
+ | DEFAULT_OPTIONS= | ||
+ | BUTTON1_OPTIONS=FORCENAME, | ||
+ | BUTTON2_OPTIONS=FORCENAME, | ||
+ | BUTTON3_OPTIONS=MUTE, | ||
+ | |||
+ | //textures can either be UUIDS or in the object' | ||
+ | //Entering no value here will default to " | ||
+ | //The available defaults are: button-blank button-bad button-bubbledots button-chat button-cog button-cross button-exclaim button-forbidden button-lips button-maid button-options button-power button-question button-radio button-umbrella button-circle button-circle-hollow button-square button-square-hollow button-triangle button-triangle-hollow | ||
+ | BUTTON1_TEXTURE=button-exclaim | ||
+ | BUTTON2_TEXTURE=button-swear | ||
+ | BUTTON3_TEXTURE=button-bubbledots | ||
+ | |||
+ | //All the filters are executed in a specific order: | ||
+ | // | ||
+ | |||
+ | //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, | ||
+ | PRESET1_TRIGGER=load preset 1,set 1,engage | ||
+ | PRESET2_TRIGGER= | ||
+ | PRESET3_TRIGGER= | ||
+ | </ | ||
+ | ===== Default button icons ===== | ||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: |
touchbound_system/conditioner.1466511371.txt.gz · Last modified: 2017/04/04 10:35 (external edit)