- 1,367
- 2020
- 595
try use this version https://www.emucoach.com/forums/threads/addon-playersbot-new-mop.9147/thx, will test it
try use this version https://www.emucoach.com/forums/threads/addon-playersbot-new-mop.9147/thx, will test it
A first version of npcbot addon for MoP.[Hidden content]
Tell me what works and what doesn't.
![]()
tyA first version of npcbot addon for MoP.[Hidden content]
Tell me what works and what doesn't.
![]()
thank you!A first version of npcbot addon for MoP.[Hidden content]
Tell me what works and what doesn't.
![]()
you will have to change the commands. Because on emucoach the commands to control the npcbot are differentthank you!
I'm looking up addons for npcbots Version 0.11 (07 Nov 2020).
![]()
GitHub - trickerer/Trinity-Bots: NPCBots for TrinityCore and AzerothCore 3.3.5
NPCBots for TrinityCore and AzerothCore 3.3.5. Contribute to trickerer/Trinity-Bots development by creating an account on GitHub.github.com
if you need help don't hesitate to add me on discordthank you!
I'm looking up addons for npcbots Version 0.11 (07 Nov 2020).
![]()
GitHub - trickerer/Trinity-Bots: NPCBots for TrinityCore and AzerothCore 3.3.5
NPCBots for TrinityCore and AzerothCore 3.3.5. Contribute to trickerer/Trinity-Bots development by creating an account on GitHub.github.com
I have edited from your Npcbot_cata v2.if you need help don't hesitate to add me on discord
niceee!!!I have edited from your Npcbot_cata v2.
It's working great. ~ thank you, Likon!Addon Npcbot_Cata
Addon for npcbot. You have several versions. 3.3 or an old version 2.0. It's up to you to choose what you like. Good game! Many thanks to Hidden content For the V8+ repack. Update : 3.3 Stable Translates the text into Russian Update : 3.2 Stable Now addon will save the position where you...www.emucoach.com
I just thought you should publish the addon and say it's for trinity bot. I'm sure people will like itI have edited from your Npcbot_cata v2.
It's working great. ~ thank you, Likon!Addon Npcbot_Cata
Addon for npcbot. You have several versions. 3.3 or an old version 2.0. It's up to you to choose what you like. Good game! Many thanks to Hidden content For the V8+ repack. Update : 3.3 Stable Translates the text into Russian Update : 3.2 Stable Now addon will save the position where you...www.emucoach.com
Sure!, I wanted to add attach file before, but file size limit me~I just thought you should publish the addon and say it's for trinity bot. I'm sure people will like it
-- Кружое возле миникарты (как в моих ротациях)
local p = CreateFrame("ScrollingMessageFrame", "TEXY", UIParent)
p:SetFontObject("CombatLogFont")
p:SetSize(150, 230)
p:SetPoint("CENTER", 0, 0)
-- 1
-- p:SetBackdrop({
-- bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", tile = true, tileSize = 32})
-- 2
-- p:SetBackdrop({
-- bgFile = "Interface\\DialogFrame\\UI-DialogBox-Background",
-- edgeFile = "Interface\\DialogFrame\\UI-DialogBox-Border",
-- tile = true,
-- tileSize = 32,
-- edgeSize = 32,
-- insets = { left = 8, right = 8, top = 8, bottom = 8 }
-- })
-- 3
p:SetBackdrop({
bgFile = "Interface/Tooltips/UI-Tooltip-Background",
edgeFile = "Interface/Tooltips/UI-Tooltip-Border",
-- tile = true,
-- tileSize = 32,
edgeSize = 16, --15
insets = {
left = 4, --5
right = 4, --5
top = 4, --5
bottom = 4, --5
}
})
p:SetBackdropColor(0, 0, 0, 1)
p:SetMaxLines(15)
p:SetFading(false)
p:Show();
--Передвигать мышью
TEXY:EnableMouse(true)
TEXY:SetMovable(true)
TEXY:SetUserPlaced(enable)
TEXY:SetClampedToScreen(true)
TEXY:SetScript("OnMouseDown", function(self) self:StartMoving() end)
TEXY:SetScript("OnMouseUp", function(self) self:StopMovingOrSizing() end)
TEXY:SetScript("OnDragStop", function(self) self:StopMovingOrSizing() end)
-- Галочка для выключения
-- p.Close = CreateFrame("Button", nil, SecondHandScript, "UIPanelCloseButton");
p.Close = CreateFrame("Button", nil, p, "UIPanelCloseButton");
p.Close:SetPoint("TOPRIGHT", p, 0, 0);
p.Close:SetFrameStrata("HIGH");
p.Close:SetScript("OnClick", function(self)
p.Close:GetParent():Hide()
-- p.Close:GetParent():SetAlpha(0)
end);
--01 - Menu 1.lua
-- Кружое возле миникарты (как в моих ротациях)
local p = CreateFrame("ScrollingMessageFrame", "TEXY2", UIParent)
p:SetFontObject("CombatLogFont")
p:SetSize(150, 230)
p:SetPoint("CENTER", 0, 0)
-- 1
-- p:SetBackdrop({
-- bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", tile = true, tileSize = 32})
-- 2
-- p:SetBackdrop({
-- bgFile = "Interface\\DialogFrame\\UI-DialogBox-Background",
-- edgeFile = "Interface\\DialogFrame\\UI-DialogBox-Border",
-- tile = true,
-- tileSize = 32,
-- edgeSize = 32,
-- insets = { left = 8, right = 8, top = 8, bottom = 8 }
-- })
-- 3
p:SetBackdrop({
bgFile = "Interface/Tooltips/UI-Tooltip-Background",
edgeFile = "Interface/Tooltips/UI-Tooltip-Border",
-- tile = true,
-- tileSize = 32,
edgeSize = 16, --15
insets = {
left = 4, --5
right = 4, --5
top = 4, --5
bottom = 4, --5
}
})
p:SetBackdropColor(0, 0, 0, 1)
p:SetMaxLines(15)
p:SetFading(false)
p:Show();
--Передвигать мышью
TEXY2:EnableMouse(true)
TEXY2:SetMovable(true)
TEXY2:SetUserPlaced(enable)
TEXY2:SetClampedToScreen(true)
TEXY2:SetScript("OnMouseDown", function(self) self:StartMoving() end)
TEXY2:SetScript("OnMouseUp", function(self) self:StopMovingOrSizing() end)
TEXY2:SetScript("OnDragStop", function(self) self:StopMovingOrSizing() end)
-- Галочка для выключения
-- p.Close = CreateFrame("Button", nil, SecondHandScript, "UIPanelCloseButton");
p.Close = CreateFrame("Button", nil, p, "UIPanelCloseButton");
p.Close:SetPoint("TOPRIGHT", p, 0, 0);
p.Close:SetFrameStrata("HIGH");
p.Close:SetScript("OnClick", function(self)
p.Close:GetParent():Hide()
-- p.Close:GetParent():SetAlpha(0)
end);
--02 - Menu 2.lua
-- f = CreateFrame("Button", nil, UIParent)
local f = CreateFrame("Button", nil, Minimap)
f:SetMovable(true)
f:EnableMouse(true)
f:SetSize(40, 40) --Круглая рамка
f:SetFrameStrata("LOW")
-- f:SetPoint("CENTER", 0, -270)
f:SetPoint("CENTER", -80, -25)
f.icon = f:CreateTexture(nil, "BACKGROUND")
-- /run local icon = MultiBarBottomLeftButton1Icon:GetTexture(); local zamena = string.gsub(icon, "\\", "\\\\") local msg = ("|T"..zamena..":28:28|t"); ChatFrame1EditBox:SetText(msg); ChatFrame1EditBox:SetFocus();
f.icon:SetTexture("Interface\\AddOns\\npcbot\\Icons\\19") --Иконка
f.icon:SetSize(25, 25);
f.icon:SetPoint("CENTER", 0, 02)
f.border = f:CreateTexture(nil, "ARTWORK")
f.border:SetTexture("Interface\\Minimap\\MiniMap-TrackingBorder")
f.border:SetTexCoord(0, 0.6, 0, 0.6);
f.border:SetAllPoints(f);
f:SetScript("OnClick", function(...)
if TEXY:IsVisible() then
TEXY:Hide()
else
TEXY:Show()
end
if TEXY2:IsVisible() then
TEXY2:Hide()
else
TEXY2:Show()
end
end);
f:EnableMouse(true)
f:SetMovable(true)
f:SetUserPlaced(enable)
f:SetClampedToScreen(true)
f:SetScript("OnMouseDown", function(self) self:StartMoving() end)
f:SetScript("OnMouseUp", function(self) self:StopMovingOrSizing() end)
f:SetScript("OnDragStop", function(self) self:StopMovingOrSizing() end)
--03 - Minimap.lua
local f = CreateFrame("Frame")
local a
function a(self, event, ...)
if not Texychat then
local function create_button(x, y, text, scriptik)
local x = x or -10
local y = y or -41
local text = text or "text"
local scriptik = scriptik or "/run print(123)"
-- local f = CreateFrame("Button", nil, Minimap, "SecureActionButtonTemplate, ActionButtonTemplate, UIPanelButtonTemplate")
local f = CreateFrame("Button", nil, TEXY, "SecureActionButtonTemplate, ActionButtonTemplate, UIPanelButtonTemplate")
f:SetPoint("TOP", x, y)
f:RegisterForClicks("AnyDown")
f:SetSize(144, 21)
f:SetNormalTexture(nil)
f:SetText("|cFF00FF00"..text.."|r")
f:SetAttribute("type", "macro")
f:SetAttribute("macrotext", scriptik)
end
local function create_button(x, y, parent, text, scriptik)
local x = x or -10
local y = y or -41
local text = text or "text"
local parent = parent or UIParent
local scriptik = scriptik or "/run print(123)"
-- local f = CreateFrame("Button", nil, Minimap, "SecureActionButtonTemplate, ActionButtonTemplate, UIPanelButtonTemplate")
local f = CreateFrame("Button", nil, parent, "SecureActionButtonTemplate, ActionButtonTemplate, UIPanelButtonTemplate")
f:SetPoint("TOP", x, y)
f:RegisterForClicks("AnyDown")
f:SetSize(144, 30)
f:SetNormalTexture(nil)
f:SetText("|cFF00FF00"..text.."|r")
f:SetAttribute("type", "macro")
f:SetAttribute("macrotext", scriptik)
end
-- .npcbot add druid
-- .npcbot add mage
-- .npcbot add warrior
-- .npcbot add priest
-- .npcbot add warlock
-- .npcbot add rogue
-- .npcbot add paladin
-- .npcbot add shaman
-- .npcbot add hunter
-- .npcbot add deathknight
-- .npcbot command stay
-- .npcbot comand follow
-- /bonk
-- .npcbot remove
-- local x = -200
-- local y = -30
local x = 0
local y = -20
-- (recommend) using .npc loo #class and find someone replace numbers.
create_button(x, y*1, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\17:18:18|t |cffFF7C0A druid", [[.npcbot sp 70405]])
create_button(x, y*2, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\15:18:18|t |cff68CCEF mage", [[.npcbot sp 70324]])
create_button(x, y*3, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\18:18:18|t |cffC69B6D warrior", [[.npcbot sp 70026]])
create_button(x, y*4, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\09:18:18|t |cffF0EBE0 priest", [[.npcbot sp 70227]])
create_button(x, y*5, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\02:18:18|t |cff9382C9 warlock", [[.npcbot sp 70363]])
create_button(x, y*6, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\06:18:18|t |cffF48CBA paladin", [[.npcbot sp 70072]])
create_button(x, y*7, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\03:18:18|t |cff2359FF shaman", [[.npcbot sp 70258]])
create_button(x, y*8, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\07:18:18|t |cffAAD372 hunter", [[.npcbot sp 70114]])
create_button(x, y*9, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\08:18:18|t |cffFFF468 rogue", [[.npcbot sp 70170]])
create_button(x, y*10, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\04:18:18|t |cffC41E3B deathknight", [[.npcbot sp 70462]])
create_button(x, y*12, TEXY, "|cffff0000【delete】", [[.npcbot delete]])
TEXY:SetSize(135, 276)
-- create_button(x, y*1, TEXY2, "|TInterface\\AddOns\\npcbot\\Icons\\24:18:18|t |cffff0000Dis 5", [[.npcbot distance 5]])
-- create_button(x, y*2, TEXY2, "|TInterface\\AddOns\\npcbot\\Icons\\25:18:18|t Dis 75", [[.npcbot distance 75]])
create_button(x, y*1, TEXY2, "|cffffffff【add】", [[.npcbot add]])
create_button(x, y*2, TEXY2, "|cffffffff【remove】", [[.npcbot remove]])
create_button(x, y*3, TEXY2, "|cffffffff【revive】", [[.npcbot revive]])
create_button(x, y*4, TEXY2, "|cffffffff【hide all】", [[.npcbot hide]])
create_button(x, y*5, TEXY2, "|cffffffff【show all】", [[.npcbot show]])
create_button(x, y*6, TEXY2, "|cffffffff【status】", [[/bonk]])
create_button(x, y*8, TEXY2, "|cffffffff【stay】", [[.npcbot command stand]])
create_button(x, y*9, TEXY2, "|cffffffff【follow】", [[.npcbot command follow]])
TEXY2:SetSize(136, 216)
Texychat = true end
end
f:SetScript("OnEvent", a)
-- f:RegisterEvent("CURSOR_UPDATE")
f:RegisterEvent("PLAYER_ENTERING_WORLD")
f:RegisterEvent("UPDATE_MOUSEOVER_UNIT")
--04 - Создание.lua
thx bro!Sure!, I wanted to add attach file before, but file size limit me~
Here is my change in _Mix.lua
-- Кружое возле миникарты (как в моих ротациях) local p = CreateFrame("ScrollingMessageFrame", "TEXY", UIParent) p:SetFontObject("CombatLogFont") p:SetSize(150, 230) p:SetPoint("CENTER", 0, 0) -- 1 -- p:SetBackdrop({ -- bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", tile = true, tileSize = 32}) -- 2 -- p:SetBackdrop({ -- bgFile = "Interface\\DialogFrame\\UI-DialogBox-Background", -- edgeFile = "Interface\\DialogFrame\\UI-DialogBox-Border", -- tile = true, -- tileSize = 32, -- edgeSize = 32, -- insets = { left = 8, right = 8, top = 8, bottom = 8 } -- }) -- 3 p:SetBackdrop({ bgFile = "Interface/Tooltips/UI-Tooltip-Background", edgeFile = "Interface/Tooltips/UI-Tooltip-Border", -- tile = true, -- tileSize = 32, edgeSize = 16, --15 insets = { left = 4, --5 right = 4, --5 top = 4, --5 bottom = 4, --5 } }) p:SetBackdropColor(0, 0, 0, 1) p:SetMaxLines(15) p:SetFading(false) p:Show(); --Передвигать мышью TEXY:EnableMouse(true) TEXY:SetMovable(true) TEXY:SetUserPlaced(enable) TEXY:SetClampedToScreen(true) TEXY:SetScript("OnMouseDown", function(self) self:StartMoving() end) TEXY:SetScript("OnMouseUp", function(self) self:StopMovingOrSizing() end) TEXY:SetScript("OnDragStop", function(self) self:StopMovingOrSizing() end) -- Галочка для выключения -- p.Close = CreateFrame("Button", nil, SecondHandScript, "UIPanelCloseButton"); p.Close = CreateFrame("Button", nil, p, "UIPanelCloseButton"); p.Close:SetPoint("TOPRIGHT", p, 0, 0); p.Close:SetFrameStrata("HIGH"); p.Close:SetScript("OnClick", function(self) p.Close:GetParent():Hide() -- p.Close:GetParent():SetAlpha(0) end); --01 - Menu 1.lua -- Кружое возле миникарты (как в моих ротациях) local p = CreateFrame("ScrollingMessageFrame", "TEXY2", UIParent) p:SetFontObject("CombatLogFont") p:SetSize(150, 230) p:SetPoint("CENTER", 0, 0) -- 1 -- p:SetBackdrop({ -- bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", tile = true, tileSize = 32}) -- 2 -- p:SetBackdrop({ -- bgFile = "Interface\\DialogFrame\\UI-DialogBox-Background", -- edgeFile = "Interface\\DialogFrame\\UI-DialogBox-Border", -- tile = true, -- tileSize = 32, -- edgeSize = 32, -- insets = { left = 8, right = 8, top = 8, bottom = 8 } -- }) -- 3 p:SetBackdrop({ bgFile = "Interface/Tooltips/UI-Tooltip-Background", edgeFile = "Interface/Tooltips/UI-Tooltip-Border", -- tile = true, -- tileSize = 32, edgeSize = 16, --15 insets = { left = 4, --5 right = 4, --5 top = 4, --5 bottom = 4, --5 } }) p:SetBackdropColor(0, 0, 0, 1) p:SetMaxLines(15) p:SetFading(false) p:Show(); --Передвигать мышью TEXY2:EnableMouse(true) TEXY2:SetMovable(true) TEXY2:SetUserPlaced(enable) TEXY2:SetClampedToScreen(true) TEXY2:SetScript("OnMouseDown", function(self) self:StartMoving() end) TEXY2:SetScript("OnMouseUp", function(self) self:StopMovingOrSizing() end) TEXY2:SetScript("OnDragStop", function(self) self:StopMovingOrSizing() end) -- Галочка для выключения -- p.Close = CreateFrame("Button", nil, SecondHandScript, "UIPanelCloseButton"); p.Close = CreateFrame("Button", nil, p, "UIPanelCloseButton"); p.Close:SetPoint("TOPRIGHT", p, 0, 0); p.Close:SetFrameStrata("HIGH"); p.Close:SetScript("OnClick", function(self) p.Close:GetParent():Hide() -- p.Close:GetParent():SetAlpha(0) end); --02 - Menu 2.lua -- f = CreateFrame("Button", nil, UIParent) local f = CreateFrame("Button", nil, Minimap) f:SetMovable(true) f:EnableMouse(true) f:SetSize(40, 40) --Круглая рамка f:SetFrameStrata("LOW") -- f:SetPoint("CENTER", 0, -270) f:SetPoint("CENTER", -80, -25) f.icon = f:CreateTexture(nil, "BACKGROUND") -- /run local icon = MultiBarBottomLeftButton1Icon:GetTexture(); local zamena = string.gsub(icon, "\\", "\\\\") local msg = ("|T"..zamena..":28:28|t"); ChatFrame1EditBox:SetText(msg); ChatFrame1EditBox:SetFocus(); f.icon:SetTexture("Interface\\AddOns\\npcbot\\Icons\\19") --Иконка f.icon:SetSize(25, 25); f.icon:SetPoint("CENTER", 0, 02) f.border = f:CreateTexture(nil, "ARTWORK") f.border:SetTexture("Interface\\Minimap\\MiniMap-TrackingBorder") f.border:SetTexCoord(0, 0.6, 0, 0.6); f.border:SetAllPoints(f); f:SetScript("OnClick", function(...) if TEXY:IsVisible() then TEXY:Hide() else TEXY:Show() end if TEXY2:IsVisible() then TEXY2:Hide() else TEXY2:Show() end end); f:EnableMouse(true) f:SetMovable(true) f:SetUserPlaced(enable) f:SetClampedToScreen(true) f:SetScript("OnMouseDown", function(self) self:StartMoving() end) f:SetScript("OnMouseUp", function(self) self:StopMovingOrSizing() end) f:SetScript("OnDragStop", function(self) self:StopMovingOrSizing() end) --03 - Minimap.lua local f = CreateFrame("Frame") local a function a(self, event, ...) if not Texychat then local function create_button(x, y, text, scriptik) local x = x or -10 local y = y or -41 local text = text or "text" local scriptik = scriptik or "/run print(123)" -- local f = CreateFrame("Button", nil, Minimap, "SecureActionButtonTemplate, ActionButtonTemplate, UIPanelButtonTemplate") local f = CreateFrame("Button", nil, TEXY, "SecureActionButtonTemplate, ActionButtonTemplate, UIPanelButtonTemplate") f:SetPoint("TOP", x, y) f:RegisterForClicks("AnyDown") f:SetSize(144, 21) f:SetNormalTexture(nil) f:SetText("|cFF00FF00"..text.."|r") f:SetAttribute("type", "macro") f:SetAttribute("macrotext", scriptik) end local function create_button(x, y, parent, text, scriptik) local x = x or -10 local y = y or -41 local text = text or "text" local parent = parent or UIParent local scriptik = scriptik or "/run print(123)" -- local f = CreateFrame("Button", nil, Minimap, "SecureActionButtonTemplate, ActionButtonTemplate, UIPanelButtonTemplate") local f = CreateFrame("Button", nil, parent, "SecureActionButtonTemplate, ActionButtonTemplate, UIPanelButtonTemplate") f:SetPoint("TOP", x, y) f:RegisterForClicks("AnyDown") f:SetSize(144, 30) f:SetNormalTexture(nil) f:SetText("|cFF00FF00"..text.."|r") f:SetAttribute("type", "macro") f:SetAttribute("macrotext", scriptik) end -- .npcbot add druid -- .npcbot add mage -- .npcbot add warrior -- .npcbot add priest -- .npcbot add warlock -- .npcbot add rogue -- .npcbot add paladin -- .npcbot add shaman -- .npcbot add hunter -- .npcbot add deathknight -- .npcbot command stay -- .npcbot comand follow -- /bonk -- .npcbot remove -- local x = -200 -- local y = -30 local x = 0 local y = -20 -- (recommend) using .npc loo #class and find someone replace numbers. create_button(x, y*1, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\17:18:18|t |cffFF7C0A druid", [[.npcbot sp 70405]]) create_button(x, y*2, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\15:18:18|t |cff68CCEF mage", [[.npcbot sp 70324]]) create_button(x, y*3, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\18:18:18|t |cffC69B6D warrior", [[.npcbot sp 70026]]) create_button(x, y*4, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\09:18:18|t |cffF0EBE0 priest", [[.npcbot sp 70227]]) create_button(x, y*5, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\02:18:18|t |cff9382C9 warlock", [[.npcbot sp 70363]]) create_button(x, y*6, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\06:18:18|t |cffF48CBA paladin", [[.npcbot sp 70072]]) create_button(x, y*7, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\03:18:18|t |cff2359FF shaman", [[.npcbot sp 70258]]) create_button(x, y*8, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\07:18:18|t |cffAAD372 hunter", [[.npcbot sp 70114]]) create_button(x, y*9, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\08:18:18|t |cffFFF468 rogue", [[.npcbot sp 70170]]) create_button(x, y*10, TEXY, "|TInterface\\AddOns\\npcbot\\Icons\\04:18:18|t |cffC41E3B deathknight", [[.npcbot sp 70462]]) create_button(x, y*12, TEXY, "|cffff0000【delete】", [[.npcbot delete]]) TEXY:SetSize(135, 276) -- create_button(x, y*1, TEXY2, "|TInterface\\AddOns\\npcbot\\Icons\\24:18:18|t |cffff0000Dis 5", [[.npcbot distance 5]]) -- create_button(x, y*2, TEXY2, "|TInterface\\AddOns\\npcbot\\Icons\\25:18:18|t Dis 75", [[.npcbot distance 75]]) create_button(x, y*1, TEXY2, "|cffffffff【add】", [[.npcbot add]]) create_button(x, y*2, TEXY2, "|cffffffff【remove】", [[.npcbot remove]]) create_button(x, y*3, TEXY2, "|cffffffff【revive】", [[.npcbot revive]]) create_button(x, y*4, TEXY2, "|cffffffff【hide all】", [[.npcbot hide]]) create_button(x, y*5, TEXY2, "|cffffffff【show all】", [[.npcbot show]]) create_button(x, y*6, TEXY2, "|cffffffff【status】", [[/bonk]]) create_button(x, y*8, TEXY2, "|cffffffff【stay】", [[.npcbot command stand]]) create_button(x, y*9, TEXY2, "|cffffffff【follow】", [[.npcbot command follow]]) TEXY2:SetSize(136, 216) Texychat = true end end f:SetScript("OnEvent", a) -- f:RegisterEvent("CURSOR_UPDATE") f:RegisterEvent("PLAYER_ENTERING_WORLD") f:RegisterEvent("UPDATE_MOUSEOVER_UNIT") --04 - Создание.lua