Macro idea... with no idea on how!!!!

Macro requests from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

L4ZYN00B
decaying skeleton
decaying skeleton
Posts: 2
Joined: Wed Feb 19, 2003 11:23 am

Macro idea... with no idea on how!!!!

Post by L4ZYN00B » Wed Feb 19, 2003 11:41 am

This is my very first macro... so much so that there is almost no coding apart from the one I could steal from apost on this site... :roll:

The idea would be to have a macro that would:

:arrow: Have chat recognition capabilities targeting the person that asked for the buff, check that the spell is memo and if not do so, stand, cast, reply with a smiley :) and sit down again. Very useful in raid where I spend half my time running on my keyboard targeting tanks, hasting them while mezzing off at the same time... :shock:

:arrow: Include a set of spells used for different purposes, ie BuffTime, Raid, Solo, PL, etc... that would be memoed all in one :lol:

:arrow: Either times or has the spell effect time included to auto recast spells like mez :P

:arrow: Ensure that self only buffs are always on at all time - except if something stronger is cast upon me :wink:

And that's about it!! See? Easy really :D

I have stolen :oops: the following code

Code: Select all

Sub Event_Chat 

/if "$p2"=="Haste" { 
   /sit off 
   /delay 5 
   /target $p1 
   /call SpellSub 5 NEED DELAY!!!!!!!! 
   /delay 5 
   /sit on 

} else /if "$p2"=="VoG" { 
   /sit off 
   /delay 5 
   /target $p1 
   /call SpellSub 5 NEED DELAY!!!!!!!! 
   /delay 5 
   /sit on 

} else /if "$p2"=="nuke" { 
   /sit off 
   /delay 5 
   /target $p1 
   /assist 
      /if "$target(type)"=="NPC" /goto :nukeaway 
      /goto :nonuke 
   :nukeaway 
      /call SpellSub 8 NEED DELAY!!!!!!!! 
   :nonuke 
      /delay 5 
      /sit on 

} else /if "$p2"=="Add" { 
   /sit off 
   /delay 5 
   /target $p1 
   /assist 
      /if "$target(type)"=="NPC" /goto :rootaway 
      /goto :noroot 
   :rootaway 
     /call SpellSub 4 NEED DELAY!!!!!!!!   
   :noroot 
     /delay 5 
     /sit on 

} else /if "$p2"=="GRM" { 
   /sit off 
   /delay 5
   /call SpellSub 6 NEED DELAY!!!!!!!!
   /delay 5
   /sit on

} 

/return
The code is not clean, delays need to be added, etc. Moreover this is only a tiny part of what I would like my macro to be... but I don't seem to get it. Specially the Var stuff...

Oh well! Hope it will inspire anyone to help :D


Desparate n00b

[/code]

User avatar
operat0r
RTFM, then ask again
Posts: 61
Joined: Thu Aug 28, 2003 2:04 am

look at bots

Post by operat0r » Thu Aug 28, 2003 1:13 pm

EDIT I would look at *bot.mac claric and such im looking for the " events " code for MQ while they are updateing the source.. post a url if you get the code for " events " other then that I can see myself getting what I want my script to do
Last edited by operat0r on Sun Jan 04, 2004 2:55 am, edited 1 time in total.
with love moron #6895423686

Consilium
Contributing Member
Contributing Member
Posts: 100
Joined: Wed Oct 02, 2002 10:42 pm

Re: look at bots

Post by Consilium » Thu Aug 28, 2003 10:45 pm

operat0r wrote:I would look at *bot.mac claric and such im looking for the " on text " code for MQ while they are updateing the source.. post a url if you get the code for " on text " other then that I can see myself getting what I want my script to do
On text code? If this is what I think your talking about use the search tool for events.
-SH
+Student
digitalsavior.com