Answer for the multiline trigger

Answer for the multiline trigger question above in this thread
3 Replies
demonnic
demonnicOP3y ago
demonnic
demonnicOP3y ago
<?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>
picture of the trigger, and the xml you can copy and paste into the trigger editor to have it yourself to review for anyone following along
demonnic
demonnicOP3y ago
what it looks like in action.
Want results from more Discord servers?
Add your server