Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
TellBunny.zip release | 4.75 KB | May 31, 2021 | 1.13.7 +1 | 0 | ![]() |
TellBunny.zip release | 4.75 KB | Jan 4, 2020 | 1.13.3 | 41 | ![]() |
TellBunny.zip release | 4.75 KB | Jan 4, 2020 | 1.13.3 | 7 | ![]() |
TellBunny.zip beta | 1.77 KB | Oct 22, 2019 | 1.13.2 | 28 | ![]() |
TellBunny.zip beta | 1.75 KB | Oct 21, 2019 | 1.13.2 | 11 | ![]() |
Description
WoW chat truncates messages >255 characters. This addon breaks down large messages into whisper sized pieces.
Currently only a library function that can be called through something like LibStub:
TARGET = “Krathis-Rattlegore”
TEXT = “hi”
–[[‘chatType’ (“SAY”, “WHISPER”, “EMOTE”, “CHANNEL”, “PARTY”,”BATTLEGROUND”,”GUILD”,”OFFICER”,”YELL”,”RAID”,”RAID_WARNING”, “AFK”, “DND”) ]]
CHANNEL = “whisper”
LibStub(“AceAddon-3.0”):GetAddon(“TellBunny”):SendMessages(TEXT,CHANNEL,TARGET)
Use of stories.lua allows for large blocks of text to be stored in a lua string. The WoW lua interpreter only supports strings up to ~8000 characters. Alice in Wonderland is included as a demo in a string called tb_story_alice. You can then reference the variable in place of the TEXT variable:
TARGET = “”
–[[‘chatType’ (“SAY”, “WHISPER”, “EMOTE”, “CHANNEL”, “PARTY”,”BATTLEGROUND”,”GUILD”,”OFFICER”,”YELL”,”RAID”,”RAID_WARNING”, “AFK”, “DND”)
]]
CHANNEL = “whisper”
LibStub(“AceAddon-3.0”):GetAddon(“TellBunny”):SendMessages(tb_story_alice,CHANNEL,TARGET)
Add a comment