diff options
author | chai <chaifix@163.com> | 2021-11-15 13:53:59 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-15 13:53:59 +0800 |
commit | 942a030afd348ab2e02eac8054b43e3c3a72ea48 (patch) | |
tree | a13459f39a3d2f1b533fbd1b5ab523d7a621f673 /Data/BuiltIn/Libraries/lua-addons/addons/InfoReplacer/ReadMe.md | |
parent | e307051a56a54c27f10438fd2025edf61d0dfeed (diff) |
*rename
Diffstat (limited to 'Data/BuiltIn/Libraries/lua-addons/addons/InfoReplacer/ReadMe.md')
-rw-r--r-- | Data/BuiltIn/Libraries/lua-addons/addons/InfoReplacer/ReadMe.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Data/BuiltIn/Libraries/lua-addons/addons/InfoReplacer/ReadMe.md b/Data/BuiltIn/Libraries/lua-addons/addons/InfoReplacer/ReadMe.md new file mode 100644 index 0000000..6772625 --- /dev/null +++ b/Data/BuiltIn/Libraries/lua-addons/addons/InfoReplacer/ReadMe.md @@ -0,0 +1,39 @@ +# InfoReplacer # + +Replaces outgoing text prefixed by % with respective information. For a complete list of replacements, view [`reps.lua`](https://github.com/Windower/Lua/blob/4.1/addons/InfoReplacer/reps.lua). + +---- + +### Commands: ### + +#### Show replacements #### + +``` +//inforeplacer list +``` + +Shows all (custom) replacement names. + +#### Set custom replacement #### + +``` +//inforeplacer set <name> <value> +``` + +Defines a custom replacement variable as the provided value. + +#### Set custom code replacement #### + +``` +//inforeplacer seteval <name> <code> +``` + +Defines a custom replacement variable as the provided Lua expression. This expression will be evaluated whenever it appears in the chat, so this can be used to print dynamic values. + +#### Remove custom replacement #### + +``` +//inforeplacer unset <name> +``` + +Deletes a previously defined custom replacement variable. |