Moderator: MacroQuest Developers

If your that bored, write a script that uses events to capture all the data from a /who (either MQ improved, or normal anon/roleplay limited ones.)SingleServing wrote:I have decided that I want to learn how to write macro's that include Events better. As a result I am now taking requests for ideas to implement into an amost totally event driven macro.
something like
Sub Main
:doevent
/doevents
/goto :doevent
/return
I know many of these have been done before no flames please
My goal is to add features such as:
Automatically recast spells upon fizzles. (you will have to call what spell you want most likely)
Make sure your character is standing if he is being attacked. (I sometimes try to stand a second too late after something hits me causing me to sit back down again)
Automatically stay in meelee range and facing target when attack is on.
Turn off attack when a mob is enraged and YOU are being hit.
Allow you to Auto-follow anything using the follow command (or something similar) in addition to keeping closer to the person your following if possible to help with pathing problems. Maybe even give the PC your following an automatic tell if you fall too far behind.
Train skills such as ID, Sense Heading automatically and stop if the PC enters a trade or some other action that would prevent a skill, or the skill is =200.
Clear all current memmed spells (/forgetall)
Make several automatic spell lists to be memed ie. Buff Line, Soloing Line, Grouping Line.
Check buff duration and give update when a spell has exactly 3 minutes left. (give or take a few minutes to avoid spam from bards and short duration spells)
Provide HP and MANA status calls and warnings when below a set percentage
*****************************
If you have anything about the game bugging you, or just have an idea put in a request maybe I can implent a solution.

lame? I could do GM but never mentioned it =pL124RD wrote:Salutations,
you guys are so lame, I already did this for logging GM's in the zone if $gm is true... (the capturing things from /who) write a macro that will um... oh... do some loc walking with only events, and you have to figure out how, I already think I know...

I'll work on it just finished building a working exp macro, (5 hours and going strongL124RD wrote:Salutations,
try and make a macro that will walk locs... using events, only thing that will go against the events is that (in the only way I can see it done) is having one more line of code before the /doevents... good luck... if you need any more hints I'll be willing to give them to you.

Ok heres a few questionsL124RD wrote:Salutations,
try and make a macro that will walk locs... using events, only thing that will go against the events is that (in the only way I can see it done) is having one more line of code before the /doevents... good luck... if you need any more hints I'll be willing to give them to you.
Code: Select all
#event loc "Your location is"
#define loc_ a(
#define X_ 1,
#define Y_ 2,
#define MAXIUMUM_LOCATIONS 2
sub main
/varset loc_X_0) 0
/varset loc_Y_0) 0
/varset loc_X_1) 300
/varset loc_Y_1) 300
/varset loc_X_2) 600
/varset loc_Y_2) 600
:loop
/loc
/doevents
/goto :loop
/return
sub event_loc
/for l0 0 to MAXIUMUM_LOCATIONS
/if n $distance(loc_Y_$l0),loc_X_$l0))<=5 {
/face loc loc_Y_$calc($l0+1)),loc_X_$calc($l0+1))
/goto :end_event_loc
}
/next
:end_event_loc
/return
Was in topic but the guy already said he knew it was already done so it was kinda a pointless post.I know many of these have been done before no flames please
My goal is to add features such as:
Automatically recast spells upon fizzles. (you will have to call what spell you want most likely)