Add riochecker

This commit is contained in:
2024-06-05 17:14:35 +02:00
parent d75a9b65f2
commit 69278e7736
4 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
-- UNIT_TARGET
function(e, source)
if not source then return end
if not source == "player" then return end
if not UnitExists("target") then return end
if not UnitIsPlayer("target") then return end
local name = UnitName("target")
if not name then return end
if not aura_env.me then aura_env.me = UnitName("player") end
SendChatMessage(".ch " .. name, "WHISPER", nil, aura_env.me)
end