First a thx to all the fantastic people that enhance my game with this adon.
I am trying to get Healbot to trigger the following macro:
/cast Power Infusion; Power Infusion; Power Infusion
/run SendChatMessage("You have Power Infusion! +20% dmg for 15 secs","whisper",nil,GetUnitName("mouseover",1):gsub(" ","",2))
As seen above I want to wisper a character when casting a spell.
I can sucessfully launch the macro hovering over the frames (mouse over the character and manualy activate the macro by keybinding) but I can not use the healbot function of triggering a macro.because then there is no wisper, just the cast. I guess its something with /run that causes problem but dont know.
Have been searching on this webplace (and webb) but cant understand why. Macro works well when key binded but not when triggerd from Healbot.