broadcast.lua |
Tankadin3-Lib/broadcast.lua
Tankadin:Message(msg) Send Messages to the Default Chat Frame Inputs: msg = Message to send to the player Tankadin:Error(msg) Sends Messages to the UIErrorFrame Inputs: msg = Error Message to be Displayed Tankadin:EchoStats(data, channel, index) Echo Stats: Broadcasts an entire table to a channel Inputs: data = table of data to transmit, channel = channel to send, index = if channel is "CHANNEL" then you can broadcast to a custom channel using the index number Tankadin:Broadcast(message, channels, localwarning) Main Broadcast Function Inputs: message = Message to Send, channels = Channels to send message to (Accepts comma seperated values ie: "RAID, 7, PARTY" localwarning = Send message as a local warning? (boolean value expected) |