From 942a030afd348ab2e02eac8054b43e3c3a72ea48 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 15 Nov 2021 13:53:59 +0800 Subject: *rename --- .../lua-addons/addons/InfoReplacer/ReadMe.md | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Data/BuiltIn/Libraries/lua-addons/addons/InfoReplacer/ReadMe.md (limited to 'Data/BuiltIn/Libraries/lua-addons/addons/InfoReplacer/ReadMe.md') 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 +``` + +Defines a custom replacement variable as the provided value. + +#### Set custom code replacement #### + +``` +//inforeplacer seteval +``` + +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 +``` + +Deletes a previously defined custom replacement variable. -- cgit v1.1-26-g67d0