Since a while back I've been dualboxing two rogue's. Recently I started to take on another rogue.
While levelling from 1-60 I never had any problems with it.
But I never really know the exact amount of combo points off my slave's.
Unless I would look over to the screen where their windows are.

Now I was thinking about creating a mod for it, though i have no previous experience with it.
Since my first attempt failed pretty hard i was wondering if anyone here now how I can announce
a certain message if i have 5 combopoints automaticaly.

The new and"improved" but still not working code is now:
Code:
cca_version = "0.1";

-- When the AddOn loads...
function CombopointAnnouncer_OnLoad(self)
	-- Register the game events neccesary for our functionality
	self:RegisterEvent("ADDON_LOADED");

end

function CombopointAnnouncer_OnEvent(self, event, ...)
		if ( event == "ADDON_LOADED" ) then
			local addon = select(1, ...);
			if ( addon == "CombopointAnnouncer" ) then
				DEFAULT_CHAT_FRAME:AddMessage("CombopointAnnouncer " .. cca_version .. " loaded!");
			end
			return;
		end
		 
		if ( GetComboPoints() == 5 ) then
   			SendChatMessage("Ossu has 5 combopoints, use a Finishing Move!", "RAID_WARNING");
 		end
		
end
Any help in the mather is greatly appreciated.