Re: MUSHclient Plugins
Posted: Mon Jan 09, 2017 3:19 am
* cut and paste like usual into Mush
you can make a variable called skills... (add all the skills you want here )
________________________________
<variables>
<variable name="skills">Close Combat|Ranged Combat|Climbing</variable>
</variables>
________________________________________
and then make a trigger to gag and re-display them...
*note - custom_colour="9" is a blue, not sure how you want em colored heh...
______________________________________________
<triggers>
<trigger
custom_colour="9"
colour_change_type="1"
enabled="y"
expand_variables="y"
keep_evaluating="y"
match="^\s*(@!skills)\s*(\d+)\s*(\d+)"
omit_from_output="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>Note (" %1: lvl %3 ... %2 ")</send>
</trigger>
</triggers>
_______________________________
example output when you type .... "skill"... , the first, second and fifth ones are the replaced ones
Climbing: lvl 23 ... 2817
Close Combat: lvl 29 ... 1757
Divine Blessing 892 9
Hiding 2461 20
Ranged Combat: lvl 12 ... 1473
Searching 2453 20
_______________________________________
you can also do this for other things, i have all kinds of gems in a variable,
and i color/highlight em so they stand out in shops or loot
(add your gem names to the variable below)
<variables>
<variable name="gems">aquamarine|peridot|topaz</variable>
</variables>
_____________________________________
<triggers>
<trigger
custom_colour="6"
enabled="y"
expand_variables="y"
ignore_case="y"
lines_to_match="10"
keep_evaluating="y"
match="(@!gems)"
regexp="y"
repeat="y"
sequence="100"
>
</trigger>
</triggers>
______________________________
Have fun
you can make a variable called skills... (add all the skills you want here )
________________________________
<variables>
<variable name="skills">Close Combat|Ranged Combat|Climbing</variable>
</variables>
________________________________________
and then make a trigger to gag and re-display them...
*note - custom_colour="9" is a blue, not sure how you want em colored heh...
______________________________________________
<triggers>
<trigger
custom_colour="9"
colour_change_type="1"
enabled="y"
expand_variables="y"
keep_evaluating="y"
match="^\s*(@!skills)\s*(\d+)\s*(\d+)"
omit_from_output="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>Note (" %1: lvl %3 ... %2 ")</send>
</trigger>
</triggers>
_______________________________
example output when you type .... "skill"... , the first, second and fifth ones are the replaced ones
Climbing: lvl 23 ... 2817
Close Combat: lvl 29 ... 1757
Divine Blessing 892 9
Hiding 2461 20
Ranged Combat: lvl 12 ... 1473
Searching 2453 20
_______________________________________
you can also do this for other things, i have all kinds of gems in a variable,
and i color/highlight em so they stand out in shops or loot
<variables>
<variable name="gems">aquamarine|peridot|topaz</variable>
</variables>
_____________________________________
<triggers>
<trigger
custom_colour="6"
enabled="y"
expand_variables="y"
ignore_case="y"
lines_to_match="10"
keep_evaluating="y"
match="(@!gems)"
regexp="y"
repeat="y"
sequence="100"
>
</trigger>
</triggers>
______________________________
Have fun