--------
ignore, for copy paste.
--------


References
SLASH_FRAMESTK1 = "/fs"; -- for quicker access to frame stack
SlashCmdList.FRAMESTK = function()
 LoadAddOn("Blizzard_DebugTools");
 FrameStackTooltip_Toggle();
end

SLASH_SAXGUY1 = "/sgs";
SlashCmdList.SAXGUY1 = function()
	PlaySoundFile("Interface\\AddOns\\LB_Cheer\\Guy.ogg");
end






------------------------------------------------------------------------
function UIConfig:toggleFrame()
	if (InCombatLockdown()) then
		print("RageTips: You cannot change options in combat.")
	else
		show = not show
		if show then
			UIConfig:showFrame()
		else
			UIConfig:hideFrame()
		end
	end
end
SLASH_UIOPTIONS1, SLASH_UIOPTIONS2 = '/ragetips', '/rt';
function SlashCmdList.CHIPPROSPECT(msg, editbox)
		UIConfig:toggleFrame()
end

	UIConfig.onButton:SetScript("OnClick", function(self,button,down)  print("DO something") end)﻿
	
	
	for ron = 2 do
	print("DonkeyKong!")
end
	here
	
	
UIConfig.onButton:SetScript("OnClick", function(self, button, down) o = 2 end)
UIConfig.offBtn:SetScript("OnClick", function(self, button, down) o = 3 end)
-----------------------------------------------------------------------
for ron == 2 do
	print ("ON")
	for UnitPower("unitID" [, 1]) = UnitPowerMax("Player"[, 1]) do
		print("You should use rage!")
		print("Your rage is full!")
	end
	for UnitPower("unitID" [, 1]) = UnitPowerMax("Player"[, 1]) - 50 do
		prin("Your rage is half full, keep an eye on it!")
	end
end
for ron == 3 do
	DisableAddOn("RageTips", "Player")
	print("RageTips Disabled")
end