Add new code snippets

This commit is contained in:
2024-03-03 13:50:12 +01:00
commit 01b612a50b
409 changed files with 65292 additions and 0 deletions

14
WIP/Reply to MOVE.lua Normal file
View File

@@ -0,0 +1,14 @@
CHAT_MSG_PARTY, CHAT_MSG_PARTY_LEADER
function(_,msg,source)
local responses =
{
""
}
if source ~= UnitName("player") then
msg:lower()
if msg:match("move") then
local id = math.random(1, #responses)
SendChatMessage(responses[id], "PARTY")
end
end
end