| TempleGive.MAC 1.0
|
| Small macro designed to have the group looter give
| the quest item to the "an avatar of Tranquility"
| for the final stage of "Into the Temple"(b) task
|
| Requirements:
| MQ2MoveUtils
| MQ2EQBC
| MQ2Task
|
Sub Main
:Mainloop
/target npc 125
/if (${Target.CleanName.NotEqual[an avatar of Tranquility]}) {
/echo Error! Avatar not targeted... ending...
/if ${EQBC.Connected} /bc [+r+]Error! [+y+]Avatar not targeted... ending...
/endmacro
}
/if (${Target.CleanName.Equal[an avatar of Tranquility]} && ${Target.Distance}>20) {
/stick 10
/delay 5s ${Target.Distance}<20
/stick off
}
:Repeat1
/if (${Task.Step[6,2].NotEqual[Done]}) {
/autoinv
/itemnotify "Select Verses of Sul" leftmouseup
/delay 3s ${Cursor.ID}
/if (${Cursor.ID}!=${FindItem[Select Verses of Sul].ID}) {
/autoinv
/goto :Repeat1
}
/if (${Cursor.ID}==${FindItem[Select Verses of Sul].ID}) {
/click left target
/click left target
/delay 2s
/notify GiveWnd GVW_Give_Button leftmouseup
/delay 4s
}
}
:Repeat2
/if (${Task.Step[7,2].NotEqual[Done]}) {
/autoinv
/itemnotify "Eternity" leftmouseup
/delay 3s ${Cursor.ID}
/if (${Cursor.ID}!=${FindItem[Eternity].ID}) {
/autoinv
/goto :Repeat2
}
/if (${Cursor.ID}==${FindItem[Eternity].ID}) {
/click left target
/click left target
/delay 2s
/notify GiveWnd GVW_Give_Button leftmouseup
/delay 4s
}
}
:Repeat3
/if (${Task.Step[8,2].NotEqual[Done]}) {
/autoinv
/itemnotify "Torn Page" leftmouseup
/delay 3s ${Cursor.ID}
/if (${Cursor.ID}!=${FindItem[Torn Page].ID}) {
/autoinv
/goto :Repeat3
}
/if (${Cursor.ID}==${FindItem[Torn Page].ID}) {
/click left target
/click left target
/delay 2s
/notify GiveWnd GVW_Give_Button leftmouseup
/delay 4s
}
}
:Repeat3
/if (${Task.Step[9,2].NotEqual[Done]}) {
/autoinv
/itemnotify "Fractured Mirror Fragment" leftmouseup
/delay 3s ${Cursor.ID}
/if (${Cursor.ID}!=${FindItem[Fractured Mirror Fragment].ID}) {
/autoinv
/goto :Repeat3
}
/if (${Cursor.ID}==${FindItem[Fractured Mirror Fragment].ID}) {
/click left target
/click left target
/delay 2s
/notify GiveWnd GVW_Give_Button leftmouseup
/delay 4s
}
}
/if (${Task.Step[8,2].NotEqual[Done]} || ${Task.Step[8,2].NotEqual[Done]} || ${Task.Step[8,2].NotEqual[Done]} || ${Task.Step[9,2].NotEqual[Done]}) {
/echo Error handing in items... ending...
/if (${EQBC.Connected}) /bc [+r+]Error handing in items... [+y+]ending...
/endmacro
}
/if (${Task.Step[8,2].Equal[Done]} && ${Task.Step[8,2].Equal[Done]} && ${Task.Step[8,2].Equal[Done]} && ${Task.Step[9,2].Equal[Done]}) {
/echo Sucess!
/if (${EQBC.Connected}) /bc [+g+]Sucess turning in items!!
/delay 5s
/if (${Window[RewardSelectionWnd].Open}) /bcaa //nomodkey /notify RewardSelectionBottomPane RewardSelectionChooseButton leftmouseup
/macro Raiddruid
}