I'm trying to make an auto bid alias to increase the current bid by a minimum bid.
<triggers>
<trigger
enabled="y"
group="AucBot"
ignore_case="y"
keep_evaluating="y"
match="^AUCTION\: .*? bids (.+?) gp on .*?\.$"
regexp="y"
send_to="12"
sequence="100"
>
<send>Note ("%1")--debug
bid=%1
Replace (bid, ",", "", true)
mybid=bid+500
print (mybid)--debug</send>
</trigger>
</triggers>
However it does this:
AUCTION: Filius bids 1,150,420 gp on a counterfeit manual.
1,150,420
501
AUCTION: Filius bids 50,420 gp on a counterfeit manual.
50,420
550
AUCTION: Filius bids 420 gp on a counterfeit manual.
420
920
I cant seem to get it to function with the "," separator, I can only assume I'm missing something very simple.
I would also like to add an alias that would expand the variable "mybid" to the mud. |