Just wondering if there is anyone that would be willing to share a macro for AFK buffing, and also one that could be used for AFK TLing people. The reason i want these is so i can park both my druid and wizard in the GH and allow people to use them to TL out of the GH just by sending me a tell. or also just get buffs by sending me a tell.
The above is what i leeched from a Druid PLing macro submitted by unknown405, and modified some of the commands to suit the purpose i needed. yet i cant seem to get it to work. Ive abandoned this code completely and was hoping to get a premade copy off someone.
Rich (BB code):
| TL.Mac
#chat tell
#include MQ2Cast_Spell_Routines.inc
#chat tell
Sub Main
:loop
/goto :loop
/return
|+++++++++++++++++++++++++++
| Declares +
|+++++++++++++++++++++++++++
/declare SpellSingleBuff[6] string outer
/varset SpellSingleBuff[1] string outer "${Me.Gem[2]}"
/varset SpellSingleBuff[2] string outer "${Me.Gem[3]}"
/varset SpellSingleBuff[3] string outer "${Me.Gem[4]}"
/varset SpellSingleBuff[4] string outer "${Me.Gem[5]}"
/varset SpellSingleBuff[5] string outer "${Me.Gem[6]}"
/varset SpellSingleBuff[6] string outer "${Me.Gem[7]}"
|++++++++++++++++++++++++++++++++++++++++++++
| Stop all commands, unless a tell +
|++++++++++++++++++++++++++++++++++++++++++++
Sub Event_Chat(string ChatType,string ChatSender,string ChatText)
/if (!${ChatType.Equal[TELL]}) /return
|+++++++++++++++++++++++++++
| Direwind Request +
|+++++++++++++++++++++++++++
/if (${ChatText.Find[Direwind]})
{
/target pc ${ChatSender}
/if (${Target.Type.Equal[PC]} && ${Target.Distance}<=100)
{
/delay 1s !${Me.Moving}
/tell ${ChatSender} Incoming ${Me.Gem[4]} please stay in radius!!
/call cast "${Me.Gem[4]}" gem4
}
/return
}
|+++++++++++++++++++++++++++
| Steppes Request +
|+++++++++++++++++++++++++++
/if (${ChatText.Find[Steppes]})
{
/target pc ${ChatSender}
/if (${Target.Type.Equal[PC]} && ${Target.Distance}<=100)
{
/delay 1s !${Me.Moving}
/tell ${ChatSender} Incoming ${Me.Gem[5]} please stay in radius!!
/call cast "${Me.Gem[5]}" gem5
}
/return
}
|+++++++++++++++++++++++++++
| Blightfire Request +
|+++++++++++++++++++++++++++
/if (${ChatText.Find[Blightfire]})
{
/target pc ${ChatSender}
/if (${Target.Type.Equal[PC]} && ${Target.Distance}<=100)
{
/delay 1s !${Me.Moving}
/tell ${ChatSender} Incoming ${Me.Gem[6]} please stay in radius!!
/call cast "${Me.Gem[6]}" gem6
}
/return
}
The above is what i leeched from a Druid PLing macro submitted by unknown405, and modified some of the commands to suit the purpose i needed. yet i cant seem to get it to work. Ive abandoned this code completely and was hoping to get a premade copy off someone.