View Single Post
11/17/22, 04:39 AM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
I do not know any button addon and non to quit the dungeon but the addon "Simple Group Leave" got some slash commands for the chat e.g.
/gl
/groupl
/groupleave
/leavegroup

https://www.esoui.com/downloads/info...shcommand.html

You could download this one and add the function call named above by Dan to the code in the file SimpleGroupLeave.lua,
inside function SimpleGroupLeaveAbandon:

Lua Code:
  1. SIMPLEGROUPLEAVE = {}
  2. SIMPLEGROUPLEAVE.version = 0.6
  3. SIMPLEGROUPLEAVE.author = 'DeanGrey, modified by Baertram'
  4.  
  5. function SimpleGroupLeaveAbandon()
  6.     if not IsUnitGrouped("player") then return end
  7.     GroupLeave() --leave the group
  8.     ExitInstanceImmediately() --Exit the instance
  9. end
  10. local leaveGroup = SimpleGroupLeaveAbandon
  11.  
  12. SLASH_COMMANDS["/gl"]           = leaveGroup
  13. SLASH_COMMANDS["/groupl"]       = leaveGroup
  14. SLASH_COMMANDS["/groupleave"]   = leaveGroup
  15. SLASH_COMMANDS["/leavegroup"]   = leaveGroup

Last edited by Baertram : 11/17/22 at 04:49 AM.
  Reply With Quote