Logo

index : nswa

WoW addon which removes annoyances and adds QoL (for me)

  • summary
  • about
  • tree
  • log
  • branches
<< path: root/public/nswa.git/html/nswa_main.lua blob: 21a675925000e01f5a01fa68c488f3453a709c48 [raw] [clear marker]

        
0
1local N = nswa
2
3SLASH_NSWA1 = "/nswa"
4SLASH_NSWA2 = "/wa"
5
6
7local function argparse(args)
8 if args == "" then
9 print("Beep bop")
10 elseif args == "move" then
11 N.move_activity_label()
12 elseif args == "err" then
13 N.hc_toggle_error()
14 elseif args == "d" then
15 N.destroy_activity_frame()
16 elseif args == "rogue" then
17 N.init_fix_ui_cringe()
18 elseif args == "zone" then
19 local current_zone = C_Map.GetBestMapForUnit("player")
20 print("Current Zone: " .. current_zone)
21 elseif args == "tooltip" then
22 N.show_tooltips_in_combat()
23 end
24end
25
26function N.main()
27 N.init_portals()
28 N.init_activity_frame()
29 N.init_hide_cringe()
30
31 SlashCmdList["NSWA"] = argparse
32end
33
34
Copyright 2026  E766CB298A6D1E64 | Git-Thing heavily inspired by cgit