LuaSlinger»Always Attack

Always Attack

Always Attack

Description: The 't' key by default toggles your attack, which can be very frustrating in the middle of a fight since you don't know if hitting 't' again will start or stop combat. Use this and you'll know you'll always be attacking.<br> How to use: Bind 't' to this script through Key Bindings under the game's Main Menu.

Note: unfortunately this reportedly doesn't work with certain Unit frame mods, like NerfedUI, which disable PlayerFrame.

-- Always attack 
if ( not PlayerFrame.inCombat ) then
  CastSpellByName("Attack")
end