--미니맵 핑테러 검거
CreateFrame("FRAME","p")
p:RegisterEvent("MINIMAP_PING")
p:SetScript("OnEvent",function(s,e,u)
local pn=UnitName(u)
local _,c=UnitClass(u)
local color=RAID_CLASS_COLORS[c]
if pn~=UnitName("player") then
print("Ping : \124c"..color.colorStr..pn.."\124r - "..tonumber(date("%H"))..":"..tonumber(date("%M"))..":"..tonumber(date("%S")))
end
end)
Script
/run local p=CreateFrame("FRAME")p:RegisterEvent("MINIMAP_PING")p:SetScript("OnEvent",function(s,e,u)local pn=UnitName(u)if pn~=UnitName("player") then print("Ping : \124cffff0000"..pn.."\124r")end end)
현재 위치에 미니맵 핑 찍기7.x.x Legion
/run Minimap:PingLocation(GetPlayerMapPosition("player"))
8.0.1 BfA
/run Minimap:PingLocation(C_Map.GetPlayerMapPosition(C_Map.GetBestMapForUnit("player"),"player"))
댓글 없음:
댓글 쓰기