• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->
Resource icon

Lua - Broadcast (DanNet or EQBC) (1 Viewer) 2023-07-11

Wednesday

Member
Joined
Aug 15, 2022
RedCents
110¢
Wednesday submitted a new resource:

EQBC Broadcast - Broadcast colored text to all or specific toon

Library to help broadcast important information to all EQBC connected toons, or a single defined toon (driver).

Heavily inspired by Knightly's 'Write' Lua script'

Lua:
local broadcast = require('broadcast')

broadcast.Info("Information for all")
broadcast.Success("We succeded")
broadcast.Fail("I failed")
broadcast.Warn("Im in trouble")
broadcast.Error("Something went horribly wrong")

-- Handle string formatting too
broadcast.Success("%s successully cast %s", mq.TLO.Me.Name, 'Complete...

Read more about this resource...
 
Wednesday updated Broadcast (DanNet or EQBC) with a new update entry:

Added functionality to run slash commands remotely with DanNet / NetBots abstraction

BroadcastInterface Usage
Lua:
local broadCastInterfaceFactory = require 'broadcast/broadcastinterface'

---@alias ColorName 'Previous'|'Black'|'Blue'|'Cyan'|'Green'|'Maroon'|'Orange'|'Red'|'White'|'Yellow'

---@class BroadCastInterface
---@field Broadcast fun(message: string, recievers?: string[])
---@field ExecuteCommand fun(executeCommand: string, recievers: string[])
---@field ExecuteAllCommand fun(executeCommand: string, includeSelf?: boolean)
---@field ConnecteClients fun()...

Read the rest of this update entry...
 
Lua - Broadcast (DanNet or EQBC)

Users who are viewing this thread

Back
Top