The Gold Road Chapter – which includes the Scribing system – and Update 42 is now available to test on the PTS! You can read the latest patch notes here: https://forums.elderscrollsonline.com/en/discussion/656454/

Any AFK Add On or Way to Keybind/Macro it?

Mercutio
Mercutio
✭✭✭✭
I have to step away from the computer quite often and would dearly love the ability to quickly put up an AFK message instead of navigating my guild's roster to show me offline. Anyone have a simple solution for this? Thanks in advance.
The problem with arguing with a jackass is that they never stop braying.
*
#DwemerLife
  • Garkin
    Garkin
    ✭✭✭
    I was going to recommend Scripter - Text UI & Notifications and AFK Notify, but neither of them set you social status to AFK, it just prints various information.

    This is the code which will add slash command /afk which toggles your AFK status:
    SLASH_COMMANDS["/afk"] = function()
        local status, msg
        if GetPlayerStatus() == PLAYER_STATUS_AWAY then
            status = PLAYER_STATUS_ONLINE
            msg = "Welcome back."
        else
            status = PLAYER_STATUS_AWAY
            msg = "Away from keyboard."
        end
        SelectPlayerStatus(status)
        d(msg)
    end
    
    Garkin / EU / CSF guild
    My addons: SkyShards, LoreBooks, Dustman, Map Coordinates, No, thank you, ... (full list)
    I'm taking care of: Azurah - Interface Enhanced, Srendarr - Aura, Buff & Debuff Tracker and more
    My folder with updated/modified addons: DROPBOX
  • Mercutio
    Mercutio
    ✭✭✭✭
    Thank you so much! Do I need to make a macro for that or copy it into a file? Sorry, not very script savvy.
    The problem with arguing with a jackass is that they never stop braying.
    *
    #DwemerLife
  • Garkin
    Garkin
    ✭✭✭
    You have to put it to the .lua file.

    Or whatever, I can make a tiny addon which will add this commad:
    https://www.dropbox.com/s/qjwb3uxn47u0b0p/AFK.zip
    Garkin / EU / CSF guild
    My addons: SkyShards, LoreBooks, Dustman, Map Coordinates, No, thank you, ... (full list)
    I'm taking care of: Azurah - Interface Enhanced, Srendarr - Aura, Buff & Debuff Tracker and more
    My folder with updated/modified addons: DROPBOX
  • Mercutio
    Mercutio
    ✭✭✭✭
    Garkin wrote: »
    You have to put it to the .lua file.

    Or whatever, I can make a tiny addon which will add this commad:
    https://www.dropbox.com/s/qjwb3uxn47u0b0p/AFK.zip

    You're the best man, thanks!

    The problem with arguing with a jackass is that they never stop braying.
    *
    #DwemerLife
  • Mercutio
    Mercutio
    ✭✭✭✭
    I'm not finding a .lua file in any of the program folders, normal or (x86). Do I need to create a folder?
    The problem with arguing with a jackass is that they never stop braying.
    *
    #DwemerLife
  • Garkin
    Garkin
    ✭✭✭
    By .lua file I ment file with .lua extension inside of Addons folder.

    I have packaged the code as an addon, so you do not need to worry about it. Just download AFK.zip and extract its content to the Addons folder.
    ( Addons folder = My Documents\Elder Scrolls Online\live\AddOns\ )
    Garkin / EU / CSF guild
    My addons: SkyShards, LoreBooks, Dustman, Map Coordinates, No, thank you, ... (full list)
    I'm taking care of: Azurah - Interface Enhanced, Srendarr - Aura, Buff & Debuff Tracker and more
    My folder with updated/modified addons: DROPBOX
  • Mercutio
    Mercutio
    ✭✭✭✭
    Garkin wrote: »
    By .lua file I ment file with .lua extension inside of Addons folder.

    I have packaged the code as an addon, so you do not need to worry about it. Just download AFK.zip and extract its content to the Addons folder.
    ( Addons folder = My Documents\Elder Scrolls Online\live\AddOns\ )

    I truly appreciate it, thank you.

    The problem with arguing with a jackass is that they never stop braying.
    *
    #DwemerLife
  • Mercutio
    Mercutio
    ✭✭✭✭
    Man this works like a charm! Let me know your @ handle so I can send you some gold in appreciation. Thanks again, this is a real blessing!
    The problem with arguing with a jackass is that they never stop braying.
    *
    #DwemerLife
Sign In or Register to comment.