• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->
  • Unfortunately, yes, there is a suspension wave happening around the new tlp launch. :'( Please keep regular discussion to Suspension MegaThread and please consider submitting a Suspension report to RG.

AFK Casting Macro (1 Viewer)

Zulan

New member
Joined
Apr 19, 2006
RedCents
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.

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.
 
There is a request section specifically for this sort of thing.

First issue is unless you have:

MQ2Cast_Spell_Routines.inc (meaning you named it that) in your macro folder...it's not going to work.

Change it to
#Include Spell_Routines.inc

and you will probably see better results.

Add some events:
#Event Direwind #1# tells you, '#*#direwind#*#

add event check in the loop with a /delay 5 in there for good measure (run away loops always scare me) and move your declares to the start of the macro instead of orphaned out there in blank text...


Sub Main
ALL YOUR /DECLARES HERE
:loop
/doevents
/delay 5
/goto :loop
/return

and you look like you are on your way to having a fine macro.

Then if you have your spell gems setup right it prolly work for you.

All of that aside: I would really really advise you against using a macro to do what you are intending to do. Guildies /petition. Don't ever think they don't.
 
I would suggest checking guildtags before autocasting (some gms DO pop in to investigate afk bots without your guildtag on.)

If I were doing this, I would limit it to a very specific set of people, whom I trust implicitly.. and most of those people already have my clerics login info.
 
first of, ty Ccomp5950 for your help with the code,

secondly, grog, i was only gonna be letting people that i know use this aswell as myself, and i wouldnt stick myself by the guild pool, id do it in a place where people couldnt see like around near the TS vendors and stuff like that. but before i can do anything like that i needa get this working =(.

about posting this in the correct forum, i had the correct forum open at the same time as i was writing this, and i thought i had posted in there =(. and thats actually where i went to check for this first. Any further work on this will be moved to the questions, discussions and requests forum unless a moderator decides to move this before i can make another post =P.

TY all for your hard work, and if i eventually get this working, i will post it up here so more people can take advantage of it =).
 
AFK Casting Macro

Users who are viewing this thread

Back
Top