Saved text entry addon
Hey, I heard that this might not be even possible, but I'd like to know whether it actually isn't :P
I would LOVE an addon that would enable me to save a line of text from my chatbox, and another one to distribute it to one (or more) channels. I often trade in trade chats, and it is a pain in my ass to sometimes have to enter every item in the chatbox again. Like: /ste set1 WTS [Hide] 8g ea /ste set2 WTS [Super special armour] 500g .... ... ... (few options) /ste viewall <shows the current set messages> /ste options set1 <zone on/off (1/0)> <guild1 on/off (1/0)>. .... <guild5 on/off (1/0)> ^Sets where the message will be sent to /ste options set2 ,,,,,,,,,,,, /ste clear set(1/2/3/4/5) <deletes the msg in the specified set#> If it is possible to make something like this (storing the itemlinks aswell, not just plain text) I'll be eternally grateful to the person who could make it =) |
I know that there is at least one Notepad type addon coming. Don't know if it's possible for them to save 'links' or not, though. Someone else will need to answer that one. :)
|
Quote:
If that would be the case, it'd be truly amazing :P |
You know you can simply press the up-arrow in your chatbox to cycle through your last messages?
Its fairly easy to do that, jump to the beginning of the line, change the channel and then resend. Anyways, I'm confident that saving links should work. Afterall you can copy/paste them just fine. |
Yes you can save links if you get them via GetItemLink(bagID,slotID,linkType) etc. I used it to store link data into the saved variables file in one of my test addons to see what the format is.
For example: local itemLink = GetItemLink(bagID,slotID, LINK_STYLE_DEFAULT) Would appear in the saved variables file as follows: [[|HFFFFFF:item:45837:1:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|hKuoko|h]] I would imagine writing that link out without alteration should work fine. |
Quote:
Then its faster to just make a new line entirely. |
Quote:
|
Quote:
|
Yes you could possibly build a new link up. Not tried it myself but theoretically it is sound.
And yes, that looks to be the color code based on other values that I have seen appear. |
All times are GMT -6. The time now is 11:58 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI