Auto med?

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

Sensay
orc pawn
orc pawn
Posts: 26
Joined: Thu Dec 11, 2003 12:06 am
Location: VA
Contact:

Auto med?

Post by Sensay » Thu Apr 01, 2004 1:11 am

Right now im usign this for skillups...

Code: Select all

sub Main 

    :loop

    /cast "Minor Healing" 
    /delay 4s

  /goto :loop 
  /return 
but i have to stopt he macro and sit on my own whiel i med for spells..

What do i need to add in there, and where to get the character to say...

Sit and med when they hit 20% mana, and stand and start casting again @ 100% mana?

Ive looked through some of the other macros but i dont get exactly where to Put some of these commands in the macro,

also, how would i add in somethign to maby randomly pause the macro between each cycle maby .1-.5 seconds? so nothign goign off at Exactly the same time on the mark, over and over again for hours

found this little snip of code...

Code: Select all

  |insert short semi-random delay 
  /delay $calc(5+$rand(5)) 

would that be what i need for the pause? or is that jsut them explaining something? xD im such a noob =\ lol... Well, Thanks. =)

s16z
a ghoul
a ghoul
Posts: 97
Joined: Thu Apr 01, 2004 12:03 pm

Post by s16z » Thu Apr 01, 2004 12:08 pm

Code: Select all

sub Main
  :loop
    /cast "Minor Healing"
    /delay 4s

    /if n $char(mana,pct)<=20 /call MedUp

    /delay $calc(5+$rand(10))

   /goto :loop
   /return

Sub MedUp
    /sit
  :WaitMed
    /delay 6s
    /if n $char(mana,pct)<=99 /goto :WaitMed
    /stand
    /return

Sensay
orc pawn
orc pawn
Posts: 26
Joined: Thu Dec 11, 2003 12:06 am
Location: VA
Contact:

Post by Sensay » Thu Apr 01, 2004 12:53 pm

Thanks =)

Much appreciated.

draco
a ghoul
a ghoul
Posts: 145
Joined: Thu Jan 29, 2004 7:06 pm
Contact:

Post by draco » Fri Apr 02, 2004 12:25 pm

Add some /doevents in the Med loop and cast loop.