Answer for the multiline trigger
Answer for the multiline trigger question above in this thread
3 Replies
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MudletPackage>
<MudletPackage version="1.001">
<TriggerPackage>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Stats</name>
<script>showMultimatches()</script>
<triggerType>0</triggerType>
<conditonLineDelta>4</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\s+STR: ([\d\.]+)\s+INT: ([\d\.]+)\)</string>
<string>2</string>
<string>^\s+WIS: ([\d\.]+)\s+DEX: ([\d\.]+)\)</string>
<string>2</string>
<string>^\s+CON: ([\d\.]+)\s+CHA: ([\d\.]+)\)</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>5</integer>
<integer>1</integer>
<integer>5</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
</TriggerPackage>
</MudletPackage>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MudletPackage>
<MudletPackage version="1.001">
<TriggerPackage>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Stats</name>
<script>showMultimatches()</script>
<triggerType>0</triggerType>
<conditonLineDelta>4</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\s+STR: ([\d\.]+)\s+INT: ([\d\.]+)\)</string>
<string>2</string>
<string>^\s+WIS: ([\d\.]+)\s+DEX: ([\d\.]+)\)</string>
<string>2</string>
<string>^\s+CON: ([\d\.]+)\s+CHA: ([\d\.]+)\)</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>5</integer>
<integer>1</integer>
<integer>5</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
</TriggerPackage>
</MudletPackage>
what it looks like in action.