ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Search/Requests (https://www.esoui.com/forums/forumdisplay.php?f=165)
-   -   Saved text entry addon (https://www.esoui.com/forums/showthread.php?t=663)

Sebas613 04/07/14 11:21 AM

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 =)

Cairenn 04/07/14 01:29 PM

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. :)

Sebas613 04/07/14 02:10 PM

Quote:

Originally Posted by Cairenn (Post 3156)
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. :)

Saw that, was interested in it aswell.
If that would be the case, it'd be truly amazing :P

Tajin 04/08/14 07:49 AM

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.

Xrystal 04/08/14 08:50 AM

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.

Sebas613 04/08/14 02:42 PM

Quote:

Originally Posted by Tajin (Post 3296)
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.

Mildty irritating if chatting with a lot of people, and you dont want to nonstop spam every channel :P

Then its faster to just make a new line entirely.

Sebas613 04/08/14 02:43 PM

Quote:

Originally Posted by Xrystal (Post 3306)
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.

I am not a coder, but I'm happy its there for anyone who could make it =)

Tonyleila 04/09/14 06:25 AM

Quote:

Originally Posted by Xrystal (Post 3306)

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.

Is that a color code in the link? So can we link items as epic links also if they are just rar?

Xrystal 04/09/14 07:15 AM

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