Need a little help..

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

Neolesh
a hill giant
a hill giant
Posts: 231
Joined: Mon Aug 23, 2004 11:15 am

Need a little help..

Post by Neolesh » Mon Aug 23, 2004 11:25 am

[Deleted old post, that part is working now]

New post..

What I need help with now is getting the game to check my buff status between 2 sub calls in main, and if a certain buff is not up, load it and cast it. I've been looking for a sub that has this but so far I haven't found one.
Last edited by Neolesh on Mon Aug 23, 2004 3:02 pm, edited 1 time in total.

Neolesh
a hill giant
a hill giant
Posts: 231
Joined: Mon Aug 23, 2004 11:15 am

Post by Neolesh » Mon Aug 23, 2004 2:04 pm

Oddly enough I started it back up today and it's working... /boggle not sure what I was doing wrong..

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Mon Aug 23, 2004 2:33 pm

Neolesh wrote:Oddly enough I started it back up today and it's working... /boggle not sure what I was doing wrong..
I really doubt it is working with this in the macro:

Code: Select all

Sub Event_RageOn 
/echo At least I know it got this far! 
/if n $target(hp,pct)<15 /return 
/if n $target(hp,pct)==0 /return 
/if $target(id)==@MobID /sendkey up up 
/call ClearReturn 
/echo Rage On 
/attack off 
/call ClearReturn 

:waitRage 
/doevents 
/if $target(id)!=@MobID /return EndATK 
/if $return==EndATK /return EndATK 
/if $return==RageOFF /return 
/goto :waitRage 

/return

Neolesh
a hill giant
a hill giant
Posts: 231
Joined: Mon Aug 23, 2004 11:15 am

Post by Neolesh » Mon Aug 23, 2004 2:53 pm

Yeah, i changed that to..

Code: Select all

Sub Event_RageOn

/attack off
/delay 120

/return
Which still wasn't working at first. But then it was. Like I said I'm not sure what I was doing wrong. I'm sure it was something stupid since this is my first macro.