promotional bannermobile promotional banner

TellBunny

Breakdown large blocks of text into whisper sized pieces

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)

 

 

 

 

The TellBunny Team

profile avatar
Owner
  • 2
    Projects
  • 3.1K
    Downloads

More from murrain

  • JitterDKP Classic project image

    JitterDKP Classic

    • 2.2K
    • Addons

    Facilitates the quantifiable fairness of dkp while requiring as much effort as group loot.

    • 2.2K
    • December 1, 2020
    • Addons
    • +1
  • JitterDKP Classic project image

    JitterDKP Classic

    • 2.2K
    • Addons

    Facilitates the quantifiable fairness of dkp while requiring as much effort as group loot.

    • 2.2K
    • December 1, 2020
    • Addons
    • +1