|
chaossdragon |
Posted: Tue Nov 28, 2017 10:23 am
Need help if possible... |
|
chaossdragon Apprentice
Joined: 09 Apr 2008 Posts: 167
|
Posted: Fri Dec 15, 2017 4:01 am |
more or less what I do already with the following.
Code: |
<trigger priority="92020" regex="true" id="2589">
<pattern>^(\w[?:Essence|Fragment|Heart][^>]+) \| ([\s\d]+) \| ([\s\d]+) \| ([\s\d]+) \| ([\s\d]+) \| ([\s\d]+) \| ([\s\d]+) \| ([\s\d]+) \| ([\s\d]+) \|$</pattern>
<value>$item=%trim(%1)
$this=%db(@satchelList, $item)
#ADDKEY $this total %trim(%2)
#ADDKEY $this Legendary %trim(%3)
#ADDKEY $this Superior %trim(%4)
#ADDKEY $this Good %trim(%5)
#ADDKEY $this Average %trim(%6)
#ADDKEY $this Poor %trim(%7)
#ADDKEY $this Crude %trim(%8)
#ADDKEY $this Worthless %trim(%9)
#ADDKEY satchelList $item $this</value>
</trigger> |
&&
Code: |
<alias name="assemblyLine" id="2590">
<value>slist
#WA 2000
#FORALL %dbkeys(@satchelList) {
$this=%db(@satchelList, %i)
#FORALL {Worthless|Crude|Poor|Average|Good|Superior} {
#IF (%db($this, %j) > 5) {
#LOOP 5 {unstash %lower(%j) %lower(%i)}
assemble %lower(%i)
stash all
}
}
}</value>
</alias> |
&&
Code: |
<alias name="slist" id="2510">
<value>#IF (%1 = "reset") {#RESET Crafting} {stashlist %cr}</value>
</alias> |
** all above is in the class of "Crafting" |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|