Closed poeapp closed 7 years ago
@poeapp sorry for the long absence, in the templates nothing has changed?
No worries and yes, the templates are still the same.
@poeapp maybe you have regexp patterns? to me not to waste time)
Maybe something like this will get you most of the way there:
/wtb\s+?(.+?)\s+?in\s+?(.+?)\s+?\(stash\s+?"(.*?)";\s+?left\s+?(\d+?),\s+?top\s+(\d+?)\)(?:\s+?listed for\s+?([\d\.]+?)\s+?(.+))?/
@poeapp thx
@poeapp added in 1.0.1.6
Message format:
wtb {{item}} in {{league}} (stash "{{stash}}"; left {{x}}, top {{y}})
If the item has a price then
{{item}}
is appended with:listed for {{amount}} {{currency}}
Currency Names (these currency names are also used in my poe trade equivalent message)
Examples:
@WielkiCymbaw wtb Shavronne's Wrappings Occultist's Vestment listed for 7.5 Exalted Orbs in legacy (stash ">=10c"; left 11, top 5)
@FireBallszzzz wtb Shavronne's Wrappings Occultist's Vestment in legacy (stash "crafting"; left 11, top 10)
Gems have a
({{level}}/{{quality}}%)
following the name:@BoomBoomiee wtb Molten Strike (1/0%) listed for 1 Orb of Alteration in legacy (stash "Gems"; left 2, top 5)