create definitions for slash command
Kevin Gilbert [08-25-16 - 16:53]
create definitions for slash command
diff --git a/ArtifactMenu.lua b/ArtifactMenu.lua
index e69de29..bc34e9c 100644
--- a/ArtifactMenu.lua
+++ b/ArtifactMenu.lua
@@ -0,0 +1,8 @@
+SLASH_ARTIFACTMENU, SLASH_ARTIFACTMENUSHORT = '/artifact', '/am';
+local function openWeaponSockets(msg, editbox)
+ /run SocketInventoryItem(16);
+end
+
+SlashCmdList[SLASH_ARTIFACTMENU] = openWeaponSockets;
+SlashCmdList[SLASH_ARTIFACTMENUSHORT] = openWeaponSockets;
+
diff --git a/ArtifactMenu.toc b/ArtifactMenu.toc
index e69de29..8e84436 100644
--- a/ArtifactMenu.toc
+++ b/ArtifactMenu.toc
@@ -0,0 +1,6 @@
+## Interface: 70000
+## Title: ArtifactMenu
+## Author: Kevin Gilbert (kaygil)
+## Version: 0.1.0
+
+ArtifactMenu.lua