Not sure if you have to but I believe you want <Else IF yada yada after your first if statement.
Here's what I use maybe it can give you some idea's or whatever. I do use a ftl setup so doesnt matter which screen im on. If i hit the spot on any the screen it will heal or whatever i have it set on.
Code:
//--------------------------------------------------------------
//Leftclick Mouse over healing
//--------------------------------------------------------------
<Hotkey LButton>
//------------------------------------------------------
// Bore
// -----------------------------------------------------
// /cast [mod:LCtrl,target=Bore] lesser healing wave
// /cast [mod:LShift,target=Bore] healing wave
// /cast [mod:LAlt,target=Bore] Riptide
// /cast [target=Bore] Chain Heal
//------------------------------------------------------
// Top half of unit frame
//------------------------------------------------------
<If MouseIsOverWindowRect WoW1 768 1049 74 68>
<SendLabel w2>
<Key LShift G>
<Else If MouseIsOverWindowRect WoW2 768 1049 74 68>
<SendLabel w2>
<Key LShift G>
<Else If MouseIsOverWindowRect WoW3 768 1049 74 68>
<SendLabel w2>
<Key LShift G>
<Else If MouseIsOverWindowRect WoW4 768 1049 74 68>
<SendLabel w2>
<Key LShift G>
<Else If MouseIsOverWindowRect WoW5 768 1049 74 68>
<SendLabel w2>
<Key LShift G>
//------------------------------------------------------
// Bottom half of unit frame
//------------------------------------------------------
<Else If MouseIsOverWindowRect WoW1 768 1134 74 66>
<SendLabel w2>
<Key G>
<Else If MouseIsOverWindowRect WoW2 768 1134 74 66>
<SendLabel w2>
<Key G>
<Else If MouseIsOverWindowRect WoW3 768 1134 74 66>
<SendLabel w2>
<Key G>
<Else If MouseIsOverWindowRect WoW4 768 1134 74 66>
<SendLabel w2>
<Key G>
<Else If MouseIsOverWindowRect WoW5 768 1134 74 66>
<SendLabel w2>
<Key G>
//------------------------------------------------------
//Sedi
// /cast [mod:LCtrl,target=Sedi] lesser healing wave
// /cast [mod:LShift,target=Sedi] healing wave
// /cast [mod:LAlt,target=Sedi] Riptide
// /cast [target=Sedi] Chain Heal
//------------------------------------------------------
// Top half of unit frame
//------------------------------------------------------
<Else If MouseIsOverWindowRect WoW1 846 1049 74 68>
<SendLabel w2>
<Key LShift T>
<Else If MouseIsOverWindowRect WoW2 846 1049 74 68>
<SendLabel w2>
<Key LShift T>
<Else If MouseIsOverWindowRect WoW3 846 1049 74 68>
<SendLabel w2>
<Key LShift T>
<Else If MouseIsOverWindowRect WoW4 846 1049 74 68>
<SendLabel w2>
<Key LShift T>
<Else If MouseIsOverWindowRect WoW5 846 1049 74 68>
<SendLabel w2>
<Key LShift T>
//------------------------------------------------------
// Bottom half of unit frame
//------------------------------------------------------
<Else If MouseIsOverWindowRect WoW1 846 1134 74 66>
<SendLabel w2>
<Key T>
<Else If MouseIsOverWindowRect WoW2 846 1134 74 66>
<SendLabel w2>
<Key T>
<Else If MouseIsOverWindowRect WoW3 846 1134 74 66>
<SendLabel w2>
<Key T>
<Else If MouseIsOverWindowRect WoW4 846 1134 74 66>
<SendLabel w2>
<Key T>
<Else If MouseIsOverWindowRect WoW5 846 1134 74 66>
<SendLabel w2>
<Key T>
Thats for 2 of my characters. I have a block like that for each one. For left, right, and middle click.
Then at the end of each click I have the normal mouse use. I do have my unit frames vertical so I use above the name for one thing and below for another.
Code:
<Else> //--Defaults mouse to normal when you dont click a predetermined cordinate
<SendFocusWin>
<ClickMouse Down %Trigger%> //--Use to allow mouse look with left click
<HotkeyUp LButton> //--Use to release left click when mouse looking
<SendFocusWin>
<ClickMouse Up %Trigger%>
Connect With Us