Hey, a tank and myself in my guild was working on a macro which makes use of the /in command to post Pulling in 3, 2, 1, NOW! in the appropriate chat-channel. We came up with a two-macro solution to keep from having to use an addon. We came up with the following
Macro 1:
/run b,c=GetNumRaidMembers(),"SAY";if(UnitName("PARTY1")~=nil)then c="PARTY"end;if(b>0)then c="RAID"end;if(IsRaidOfficer()~=nil)then c="RAID_WARNING"end;if(GetCVar("K")~=nil)then SetCVar("K",c)else RegisterCVar("K",c)end
/click MultiBarBottomRightButton1
Macro 2: (placed in the bottomright bar, button 1 (all the way to the left on the bottom right action bar button)
/run SendChatMessage("PULLING IN 3",GetCVar("K"))
/in 1 /run SendChatMessage("3",GetCVar("K"))
/in 2 /run SendChatMessage("2",GetCVar("K"))
/in 3 /run SendChatMessage("1",GetCVar("K"))
/in 3.5 /run SendChatMessage("PULLING NOW!!!",GetCVar("K"))
It will determine which type of party you are in, (as well as raid warning) and post it out. You only press macro 1, and macro 2 will automatically be pushed.
Just thought it might be useful for its designed purpose, or for other stuff which requires the logic to determine which channel to post to automatically
-Brusalk & Hammerdin