Is it possible to single out one name during a multiple call-out, for an LEM event?
Single-name call-out is simple.
Badman calls out you John.
#*#Badman calls out you #1#.#*#
local function event_handler(line, name)
if name == mq.TLO.Me.CleanName() then
What if Badman calls out you John, John2, john3.
What would the code look like? I spent time looking for something like this and couldn't find it.
Answer:
local function event_handler(line, names)
if string.find(names, mq.TLO.Me.CleanName()) then
Single-name call-out is simple.
Badman calls out you John.
#*#Badman calls out you #1#.#*#
local function event_handler(line, name)
if name == mq.TLO.Me.CleanName() then
What if Badman calls out you John, John2, john3.
What would the code look like? I spent time looking for something like this and couldn't find it.
Answer:
local function event_handler(line, names)
if string.find(names, mq.TLO.Me.CleanName()) then
Last edited:

