Refactor separator and addon prefix out of options

This commit is contained in:
2024-10-14 15:46:44 +02:00
parent 2ca86e0944
commit 34c76b7087
4 changed files with 15 additions and 7 deletions

View File

@@ -1,4 +1,9 @@
-- CHAT_MSG_ADDON
function(e, ...)
print(e, ...)
function(e, prefix, msg, ...)
print(string.format("e = %s", e))
print(string.format("prefix = %s", prefix))
print(string.format("msg = %s", msg))
for i = 1, select("#", ...) do
print(string.format("arg %d = %s", i, select(i, ...)))
end
end