Tuplad
public lua v1 · immutablefunction DragQueen_OnEvent(event) if event == "VARIABLES_LOADED" then DragQueen_Init(); DragQueen_Print("Loaded. /dq for info.\n"); endendfunction DragQueen_OnLoad(this) this:RegisterEvent("VARIABLES_LOADED"); SLASH_DRAGQUEEN1 = "/dragqueen"; SLASH_DRAGQUEEN2 = "/dq"; SlashCmdList["DRAGQUEEN"] = DragQueen_SlashCommandHandler;end