Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
Don't force this. Still working on it.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kkthnx committed Jun 7, 2021
1 parent 5b4b838 commit d62c55d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 35 deletions.
24 changes: 12 additions & 12 deletions KkthnxUI/Developer/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ do
end
end

do
local SpitterEmotes = {
"VIOLIN", "CHUCKLE", "FLEX", "PITY", "SLAP", "BONK"
}
-- do
-- local SpitterEmotes = {
-- "VIOLIN", "CHUCKLE", "FLEX", "PITY", "SLAP", "BONK"
-- }

local function EmoteOnSpitters(_, _, msg, spitter)
if string.find(msg, "spits on you") then
DoEmote(SpitterEmotes[math.random(1, #SpitterEmotes)], spitter)
end
end
-- local function EmoteOnSpitters(_, _, msg, spitter)
-- if string.find(msg, "spits on you") then
-- DoEmote(SpitterEmotes[math.random(1, #SpitterEmotes)], spitter)
-- end
-- end

ChatFrame_AddMessageEventFilter("CHAT_MSG_EMOTE", EmoteOnSpitters)
ChatFrame_AddMessageEventFilter("CHAT_MSG_TEXT_EMOTE", EmoteOnSpitters)
end
-- ChatFrame_AddMessageEventFilter("CHAT_MSG_EMOTE", EmoteOnSpitters)
-- ChatFrame_AddMessageEventFilter("CHAT_MSG_TEXT_EMOTE", EmoteOnSpitters)
-- end
25 changes: 2 additions & 23 deletions KkthnxUI/Developer/Elements/Frame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,29 +43,8 @@ local UnitName = _G.UnitName
-- /kt, get gametooltip names

local KKUI_DEVS = {
-- Retail
["Iamnsfw-Sargeras"] = true,
["Kkthnx-Sargeras"] = true,
["Kkthnx-Thrall"] = true,
["Kkthnxbye-Sargeras"] = true,
["Kkthnxtv-Sargeras"] = true,
["Kkthnxui-Sargeras"] = true,
["Kkthnxx-Sargeras"] = true,
["Littledots-Sargeras"] = true,
["Superfreaky-Sargeras"] = true,
["Tattoofreak-Sargeras"] = true,
["Toxicfreak-Sargeras"] = true,

-- Firestorm
["Crackbot-Sethraliss"] = true,
["Forumtroll-Sethraliss"] = true,
["Givesnofox-Sethraliss"] = true,
["Kkthnx-Sethraliss"] = true,
["Kkthnxtv-Sethraliss"] = true,
["Kkthnxx-Sethraliss"] = true,
["Mazikeenlol-Sethraliss"] = true,
["Rustbucket-Sethraliss"] = true,
["Toxicfreak-Sethraliss"] = true,
-- TBC Classic
["Kkthnx-Sulfuras"] = true,
}

local function isDeveloper()
Expand Down

0 comments on commit d62c55d

Please sign in to comment.