sarifina
serfina





--usable recipies
QueryAuctionItems("","", "1", "", 8, nil, 0, 1, nil)




#showtooltip Nature's Swiftness
/stopcasting
/use 13 
/use 14 
/cast Nature's Swiftness 
/cast Healing Wave(Rank 12)
















   if SkillRank("Enchanting")>0 then
     DEFAULT_CHAT_FRAME:AddMessage("Max Disenchant: " .. SkillRank("Enchanting")/5+15 )
   end











#showtooltip Taunt
/stopmacro [target=targettarget,noraid] 
/cast [exists,harm,nodead] Taunt













#showtooltip Taunt
/stopmacro [target=targettarget,noraid,group,exists]
/cast [exists,harm,nodead] Taunt



/stopmacro [target=targettarget,noraid,group] ; [target=targettarget,noexists]





--  CreateMacro("Taunt", 597, "#showtooltip Taunt\n/stopmacro [target=targettarget,noraid,group] ; [target=targettarget,noexists]\n/cast [exists,harm,nodead] Taunt",1,0)



function BindTaunt(override)
  if ( TauntBound and not override ) or UnitAffectingCombat("player") then return end
  while ( GetMacroInfo("Taunt") ) do DeleteMacro("Taunt") DeleteMacro("Taunt") end
  if UnitClass("player")~="Warrior" then return end
  CreateMacro("Taunt", 597, "#showtooltip Taunt\n/stopmacro [target=targettarget,noraid,group] ; [target=targettarget,noexists]\n/cast [exists,harm,nodead] Taunt",1,0)
--SetBindingMacro("ESCAPE", "Clear")
  DEFAULT_CHAT_FRAME:AddMessage("Taunt Bound" ,3/4,3/4,3/4)
  TauntBound=GetTime()
end


























 /script UIErrorsFrame:Hide()


































 kids = { UIParent:GetChildren() };
 dprint("**")
 for x, child in ipairs(kids) do if child:GetName() and not strfind(child:GetName(),"CT_") and strfind(strlower(child:GetName()),"p")  then echo(child:GetName()) end end
















WorldStateAlwaysUpFrame:SetPoint("TOPLEFT", 600, 0);

 WorldStateAlwaysUpFrame:EnableMouse(nil)

WorldStateAlwaysUpFrame:StartMoving()
WorldStateAlwaysUpFrame:StopMovingOrSizing() 



WorldStateAlwaysUpFrame:ClearAllPoints() 
WorldStateAlwaysUpFrame:SetMovable(1) 
WorldStateAlwaysUpFrame:SetPoint("TOPLEFT", 600, 0); 
WorldStateAlwaysUpFrame:SetMovable() 
































local i=0;
while (GetQuestLogTitle(i+1) ~= nil) do
 i = i + 1;
 local questTitle, _, _, _, _, _, _, isDaily = GetQuestLogTitle(i);
 if (isDaily) then
  DEFAULT_CHAT_FRAME:AddMessage(questTitle);
 end 
end

















































	-- Out Of Mana
	--[[
	if arg1=="Not enough mana" and ( not oomTimer or GetTime()-oomTimer>120 ) and GetNumVisiblePartyMembers()>0 and CanHeal() then
		if UnitAffectingCombat("player") and CanInvite() and xtimer("RaidOOM",120) then
			SendChatMessage("I am Out of Mana!","RAID_WARNING")
		elseif UnitAffectingCombat("player") and GetNumRaidMembers()>0 and xtimer("RaidOOM",120) then
			SendChatMessage("I am Out of Mana!","RAID")
		elseif UnitAffectingCombat("player") and GetNumPartyMembers()>0 and ( UnitIsVisible("party1") or UnitIsVisible("party2") or UnitIsVisible("party3") or UnitIsVisible("party4") ) and GetNumRaidMembers()==0 and xtimer("ReportOOM",45) then
			SendChatMessage("I am Out of Mana!","RAID_WARNING")
		end
		if not UnitExists("pet") and not BattleGround() and not UnitIsPVP("player") and ( GetNumRaidMembers()<=5 or xtimer("EmoteOOM",30) ) then
		  DoEmote("oom")
		end
		oomTimer = GetTime()
	end
	]]--



--[[
	if arg1=="Can't do that while moving" then
		--nil
		return

	elseif arg1=="Can't do that while stunned" and xtimer("STUNNED",3) then
		if GetNumVisiblePartyMembers()>0 and CanHeal() and UnitPowerType("player")==0 and xtimer("HealerOut",12) then
			SendChatMessage("Your "..UnitClass("player").." is Stunned!!","Party",nil,nil)
		else
			DEFAULT_CHAT_FRAME:AddMessage(arg1)
		end

	elseif arg1=="Can't do that while stunned" then
		--nil

	elseif arg1=="Can't do that while silenced" and xtimer("SILENCED",3) then
		if GetNumVisiblePartyMembers()>0 and CanHeal() and UnitPowerType("player")==0 and xtimer("HealerOut",12) then
			SendChatMessage("Your "..UnitClass("player").." is Silenced!!","Party",nil,nil)
		else
			DEFAULT_CHAT_FRAME:AddMessage(arg1)
		end

	elseif arg1=="Can't do that while polymorphed" and xtimer("POLYMORPHED",3) then
		if GetNumVisiblePartyMembers()>0 and CanHeal() and UnitPowerType("player")==0 and xtimer("HealerOut",12) then
			SendChatMessage("Your "..UnitClass("player").." is Polymorphed!!","Party",nil,nil)
		else
			DEFAULT_CHAT_FRAME:AddMessage(arg1)
		end

	elseif arg1 and string.find(arg1,"Can't do that while ") and xtimer("CANNNOT",3) then
		--condition error string
		ce_string = string.sub(arg1,21,-1)
		if GetNumVisiblePartyMembers()>0 and CanHeal() and UnitPowerType("player")==0 and xtimer("HealerOut",12) then
			SendChatMessage("Your "..UnitClass("player").." is "..ce_string.."!!","Party",nil,nil)
		end
		DEFAULT_CHAT_FRAME:AddMessage("<".. ce_string ..">			 ".. arg1)
	end
	--cannot do that while IF
	]]--






--[[
function Event_UIerror(arg1)
	t_UIerror=GetTime()
  if arg1=="You must be behind your target" then
	t_notBehind=GetTime()
  elseif arg1=="Can't speak while shapeshifted." then
	RemoveBuff("Ability_Racial_BearForm")
	RemoveBuff("Ability_Druid_CatForm")
	RemoveBuff("Ability_Druid_TravelForm")
      RemoveBuff("Spell_Nature_SpiritWolf")
	return 1
  elseif arg1=="You can't do that while shapeshifted." and IsResting() then
	RemoveBuff("Ability_Racial_BearForm")
	RemoveBuff("Ability_Druid_CatForm")
	RemoveBuff("Ability_Druid_TravelForm")
      RemoveBuff("Spell_Nature_SpiritWolf")
	return 2
  elseif arg1=="You must be standing to do that" or arg1=="You need to be standing up to loot something!" then
	DoEmote("Stand")
	return 3
  elseif arg1=="You are in shapeshift form" then
      RemoveBuff("Spell_Nature_SpiritWolf")
	return 4
  elseif arg1=="Not enough mana" and ( not oomTimer or GetTime()-oomTimer>120 ) and CanHeal() then
	if nil and oompartymsg and GetNumPartyMembers()>0 and ( UnitIsVisible("party1") or UnitIsVisible("party2") or UnitIsVisible("party3") or UnitIsVisible("party4") ) and GetNumRaidMembers()<=2 and xtimer(534,45) then SendChatMessage("I am Out of Mana!","PARTY") end
	if xtimer(2,120) then SendChatMessage("I am Out of Mana!","RAID_WARNING") end
	if not UnitExists("pet") and not BattleGround() and not UnitIsPVP("player") and ( GetNumRaidMembers()<=5 or xtimer(634,30) ) then DoEmote("oom") end
	oomTimer=GetTime()
  elseif arg1=="Can only use outside" or arg1=="You can't mount here" then
	t_indoors=GetTime()
  elseif arg1=="Can't do that while moving" then
	t_moving=GetTime()
  elseif arg1=="Out of range." then
	t_OutOfRange=GetTime()
  elseif arg1=="Nothing to dispel" then
	t_nodispel=GetTime()
  end
end
]]--

