Hello all
My triger is
It triggers on something like:
Auction: Seller is auctioning an item (Level lvl 10, Num 111). Current bid is 100.
the trigger fires but when I try to use the variable it say's its a nil value.
the function I use :
the error msg I get:
attempt to concatenate global 'SellName' (a nil value)
I can't seem to find what's wrong with it, so any help greatly appreciated.
And if I'm going all wrong with this please say so.
Cheers
Orogan
My triger is
<trigger
name="AuctLine"
group="auction"
enabled="y"
match="^Auction: (?P<sell_name>.*?) is auctioning.*$"
regexp="y"
ignore_case="y"
expand_variables="n"
script="auction_to_gt"
send_to="12"
sequence="10"
>
</trigger>
It triggers on something like:
Auction: Seller is auctioning an item (Level lvl 10, Num 111). Current bid is 100.
the trigger fires but when I try to use the variable it say's its a nil value.
the function I use :
function auction_to_gt (name,line,wildcards,styles)
if name == "AuctLine" then
SellName = (GetAliasWildcard ("AuctLine", "sell_name"))
Send ("gt " .. SellName)
return
end -- if
end --auction_to_gt
the error msg I get:
attempt to concatenate global 'SellName' (a nil value)
I can't seem to find what's wrong with it, so any help greatly appreciated.
And if I'm going all wrong with this please say so.
Cheers
Orogan