promotional bannermobile promotional banner

AutoExec

Automatically execute your custom slash commands and Lua scripts on every login without wasting macro slots.
Back to Files

AutoExec.zip

File nameAutoExec.zip
Uploader
NouraramNouraram
Uploaded
Dec 8, 2025
Downloads
112
Size
2.4 KB
Flavors
Retail
File ID
7309231
Type
R
Release
Supported game versions
  • 12.0.0

What's new

Changelog

All notable changes to AutoExec will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.0] - 2024-12-08

Added

  • Initial release of AutoExec
  • Text-based command editor integrated into Interface Options panel
  • Auto-execute commands on login (2 second delay after PLAYER_LOGIN)
  • "Execute Now" button for testing commands before saving
  • "Save" button to persist commands between sessions
  • Support for slash commands (/command)
  • Support for Lua scripts (/run <code>)
  • Support for console commands (/console <cvar> <value>)
  • Scroll icon (INV_Scroll_03) for addon list
  • Clean error handling with user-friendly messages
  • Persistent storage using SavedVariables
  • /autoexec slash command to open settings
  • 10px padding in text editor for better readability
  • Automatic command trimming (removes leading/trailing whitespace)
  • Empty line filtering (blank lines are ignored)

Features

  • No external library dependencies (pure WoW API)
  • Lightweight and efficient
  • No macro slots consumed
  • Commands execute in order from top to bottom
  • Failed commands don't stop execution of remaining commands
  • Professional UI with icon and description

Technical Details

  • Compatible with WoW 11.0.2 (The War Within)
  • Uses native WoW frames and templates
  • Integrates with modern Settings API (11.0+)
  • Fallback support for older InterfaceOptions API
  • Saved variables: AutoExecDB.commands (array of strings)

[Unreleased]

Planned Features

  • Command syntax highlighting
  • Command templates/presets
  • Per-character command profiles
  • Import/Export functionality
  • Command execution order customization
  • Delay settings between commands
  • Conditional execution based on character/spec/zone

For feature requests or bug reports, please visit the GitHub repository.

This mod has no related projects