Top level folder
Kevin Carpenter [04-18-13 - 03:49]
diff --git a/BennyHill.lua b/BennyHill.lua
deleted file mode 100644
index 2feb525..0000000
--- a/BennyHill.lua
+++ /dev/null
@@ -1,22 +0,0 @@
-function SlashCmdList_AddSlashCommand(name, func, ...)
- SlashCmdList[name] = func
- local command = ''
- for i = 1, select('#', ...) do
- command = select(i, ...)
- if strsub(command, 1, 1) ~= '/' then
- command = '/' .. command
- end
- _G['SLASH_'..name..i] = command
- end
-end
-
-SlashCmdList_AddSlashCommand('BENNY_HILL', function(msg)
-
- PlaySoundFile("Interface\\AddOns\\BennyHill\\benny_hill.mp3");
-end, 'bennyhill', 'bh')
-
-local frame = CreateFrame("Frame")
-frame:RegisterEvent("PLAYER_LOGIN")
-frame:SetScript("OnEvent", function(self, event, ...)
- ChatFrame1:AddMessage(UnitName("Player") ..' has logged in.')
-end)
\ No newline at end of file
diff --git a/BennyHill.toc b/BennyHill.toc
deleted file mode 100644
index 25c60e2..0000000
--- a/BennyHill.toc
+++ /dev/null
@@ -1,5 +0,0 @@
-## Interface: 52000
-## SavedVariables: BennyHill
-## Title: |cFF0000FFBennyHill
-
-BennyHill.lua
\ No newline at end of file
diff --git a/BennyHill/BennyHill.lua b/BennyHill/BennyHill.lua
new file mode 100644
index 0000000..2feb525
--- /dev/null
+++ b/BennyHill/BennyHill.lua
@@ -0,0 +1,22 @@
+function SlashCmdList_AddSlashCommand(name, func, ...)
+ SlashCmdList[name] = func
+ local command = ''
+ for i = 1, select('#', ...) do
+ command = select(i, ...)
+ if strsub(command, 1, 1) ~= '/' then
+ command = '/' .. command
+ end
+ _G['SLASH_'..name..i] = command
+ end
+end
+
+SlashCmdList_AddSlashCommand('BENNY_HILL', function(msg)
+
+ PlaySoundFile("Interface\\AddOns\\BennyHill\\benny_hill.mp3");
+end, 'bennyhill', 'bh')
+
+local frame = CreateFrame("Frame")
+frame:RegisterEvent("PLAYER_LOGIN")
+frame:SetScript("OnEvent", function(self, event, ...)
+ ChatFrame1:AddMessage(UnitName("Player") ..' has logged in.')
+end)
\ No newline at end of file
diff --git a/BennyHill/BennyHill.toc b/BennyHill/BennyHill.toc
new file mode 100644
index 0000000..25c60e2
--- /dev/null
+++ b/BennyHill/BennyHill.toc
@@ -0,0 +1,5 @@
+## Interface: 52000
+## SavedVariables: BennyHill
+## Title: |cFF0000FFBennyHill
+
+BennyHill.lua
\ No newline at end of file
diff --git a/BennyHill/benny_hill.mp3 b/BennyHill/benny_hill.mp3
new file mode 100644
index 0000000..04fce4e
Binary files /dev/null and b/BennyHill/benny_hill.mp3 differ
diff --git a/benny_hill.mp3 b/benny_hill.mp3
deleted file mode 100644
index 04fce4e..0000000
Binary files a/benny_hill.mp3 and /dev/null differ