Page 1 of 1

Is It Possible to Force Logging when Gagging a Line

Posted: Thu Dec 20, 2018 12:44 am
by Thelgor
I'm using Mudlet 3.15.0 with YATCO 2.5 for chat management. I've noticed that the code segment used by YATCO is preventing Mudlet from correctly logging session activity when YATCO is set to gag a line. Specifically, when a trigger fires to append a line to the YATCO chat tab, YATCO will

Code: Select all

selectCurrentLine()
copy()
demonnic . chat . windows[chat]:append()
if gag enabled
   deleteLine()
   tempLineTrigger(1,1, [[if isPrompt() then deleteLine() end]])
This deleteLine and tempLineTrigger combination appears to be preventing the log file from logging the line that was processed. Is there a way to force the line to the log file (as defined in the Mudlet settings) without removing the ability to remove blank prompt lines resulting from gagging a line? If I disable gagging the line, the line gets logged but that's not ideal.