1. #1
    Deleted

    Scripts for Chat frame

    Hello everyone!

    I'm trying to improve the default Blizzard UI following my necessities but I'm not a coder and I'm having a lot of issues with some tasks. I hope you can help me (Platinengel helped me a lot ).

    1- I need to move the Chat frame to the left corner of the screen but every code I've found on Internet (especially the ones used in macros) aren't working. Do you know a script that I can use as addon to set the anchor of the chat frame to the bottom left and set a specific position?

    2- How can I remove all the micro buttons like Social, top/down arrows and emote and make them not reappear again when scrolling?

    3- How can I move the ChatFrameEditbox (the frame where I type) on top of the chat frame and not underneath (where is by default)?

    Sorry for my english :P and thanks in advance!

  2. #2
    1- You can move the chat by default.



    (this is german, but you'll get the point).

    Just rightclick on the tab and click the option to move the window.


    2- I've got a code that hides the micro-menu permanently and shows it up when you mouseover.

    local function showFoo(self)
    for _, v in ipairs(MICRO_BUTTONS) do
    _G[v]:SetAlpha(1)
    end
    end

    local function hideFoo(self)
    for _, v in ipairs(MICRO_BUTTONS) do
    _G[v]:SetAlpha(0)
    end
    end

    for _, v in ipairs(MICRO_BUTTONS) do
    v = _G[v]
    v:SetScript("OnEnter", showFoo)
    v:SetScript("OnLeave", hideFoo)
    v:SetAlpha(0)
    end

    3- The easiest way would be to use "Chatter".
    Last edited by Platinengel; 2015-11-30 at 03:04 PM.

  3. #3
    Deleted
    Ehi Platinengil thanks as always! I want to change the default position of chat frame without addons and deciding precisely where to anchor the frame so I need a script to do that. For the 2) I meant the micro buttons of chat frame and I've found a script that remove some buttons but not the arrows so I still need to figure how to remove them:

    Code:
    local function HideForever(f)
    	f:SetScript("OnShow", f.Hide)
    	f:Hide()
    end
    
    HideForever(ChatFrameMenuButton)
    HideForever(FriendsMicroButton)
    HideForever(GeneralDockManagerOverflowButton)
    And same for 3), I would like not to use others addons

  4. #4
    Quote Originally Posted by LordHam View Post
    Ehi Platinengil thanks as always! I want to change the default position of chat frame without addons and deciding precisely where to anchor the frame so I need a script to do that. For the 2) I meant the micro buttons of chat frame and I've found a script that remove some buttons but not the arrows so I still need to figure how to remove them:

    Code:
    local function HideForever(f)
    	f:SetScript("OnShow", f.Hide)
    	f:Hide()
    end
    
    HideForever(ChatFrameMenuButton)
    HideForever(FriendsMicroButton)
    HideForever(GeneralDockManagerOverflowButton)
    And same for 3), I would like not to use others addons
    But for 1- you dont need any addons :O I dont understand what you need a script for when it already works by default.


    Isnt it possible to use the .lua of an addon like this:

    http://www.wowinterface.com/download...319-rChat.html

    ? Since it does a lot you are looking for.

  5. #5
    Use /fstack Ingame Mouseover the Buttons and add the Lines like:

    Code:
    local function HideForever(f)
    	f:SetScript("OnShow", f.Hide)
    	f:Hide()
    end
    
    HideForever(ChatFrameMenuButton)
    HideForever(FriendsMicroButton)
    HideForever(GeneralDockManagerOverflowButton)
    HideForever(ChatArrowUp)
    Hideforever(ChatArrowDown)
    Don't know the correct Names so you Need to replace the Words behind the "("

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •