Kqliber / Expansion-ChangeOutput

Change outputs of a placeholder on certain conditions
6 stars 0 forks source link

Expansion-ChangeOutput

Change outputs of a placeholder on certain conditions

Syntax

%changeoutput_<options>_input:<input>_matcher:<matcher>_ifmatch:<output-if-matched>_else:<output-if-not-matched>%

All arguments can be replaced with other placeholders, wrapped in {}

Examples

%changeoutput_equals_input:replace_matcher:replace_ifmatch:with this_else:instead of this%

%changeoutput_ignorecase_input:Replace_matcher:replace_ifmatch:case ignored_else:instead of this%

%changeoutput_ignorecolor_input:{player_displayname}_matcher:Kqliber_ifmatch:Kaliber_else:Steve%

%changeoutput_contains_input:Steve_matcher:Ste_ifmatch:contains_else:does not contain%

%changeoutput_>_input:10_matcher:1_ifmatch:larger_else:smaller%

%changeoutput_>=_input:10matcher:_10_ifmatch:larger_else:smaller%

%changeoutput_<_input:1_matcher:10_ifmatch:smaller_else:larger%

%changeoutput_<=_input:10_matcher:10_ifmatch:smaller_else:larger%