All I want to do is take a line and highlight it. I thought this was as simple as creating a new trigger with an "exact match" pattern, checking "highlight" and selecting the colors. So I tried it, and it failed.
Then, I tried doing the same thing but unselecting highlight and instead using selectString(line,1) fg("green") resetFormat()
This, too, failed.
I don't know where to go from here!
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MudletPackage>
<MudletPackage version="1.0">
<TriggerPackage>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Physical Balance</name>
<script>selectString(line,1)
fg("green")
resetFormat()</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<mFgColor>#ffff00</mFgColor>
<mBgColor>#550000</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^You have regained balance\.$</string>
<string>Aku (male Tsurani Human)</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
</TriggerPackage>
</MudletPackage>