How to capture and store data (and view it via an alias)?
Re: How to capture and store data (and view it via an alias)?
I get that just on the price. The other options work fine. I ran that lua command to convert but it didn't take I guess.
Re: How to capture and store data (and view it via an alias)?
Oh, I haven't merged any files yet, so I'm thinking it's saving as a string still.
Re: How to capture and store data (and view it via an alias)?
I removed the [[ and ]] from the numbers and it works fine. Could this be the issue causing my new data to be added as a string?
"price = tonumber(price)"
change to:
"price = tonumber(v.price)"
??
"price = tonumber(price)"
change to:
"price = tonumber(v.price)"
??
Re: How to capture and store data (and view it via an alias)?
Can I see that in context of all the code?
Re: How to capture and store data (and view it via an alias)?
Yup. That is it. Just make that price instead of v.price and it should be good.
Re: How to capture and store data (and view it via an alias)?
One small issue I am seeing. How can I get it to stop capturing my prompt at times? It doesn't do it often and I'm not sure what causes it.
- Attachments
-
- AucCapture.JPG (42.61 KiB) Viewed 6025 times
Last edited by Vooku on Fri Aug 03, 2018 10:08 pm, edited 1 time in total.
Re: How to capture and store data (and view it via an alias)?
Change your trigger pattern so that instead of starting like this: ^(.*)
It starts like this: Auction: (.*)
It starts like this: Auction: (.*)
Re: How to capture and store data (and view it via an alias)?
That didn't work for some reason. Changed to Auction: (.*) and it wouldn't capture. Right now my trigger is ^(.+)
Would there be an easy way to have it display how many items are in the table at the bottom of the print alias?
Would there be an easy way to have it display how many items are in the table at the bottom of the print alias?
Re: How to capture and store data (and view it via an alias)?
To show how many items are in the list, do this: print(#auction_data)
As for the trigger, can you show me your full trigger pattern?
As for the trigger, can you show me your full trigger pattern?