help with the code plz

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

Moderator: MacroQuest Developers

Valenciano
decaying skeleton
decaying skeleton
Posts: 7
Joined: Tue Sep 28, 2004 1:57 pm

help with the code plz

Post by Valenciano » Tue Sep 28, 2004 2:05 pm

Could anyone help me to make a code that do:

1.- ( i use MQ2Twist pluging ) play 1 2 3 4
2.- and be seeing my hps and when im under 1k hps says to my group /vgroup 006 and make 1 Fade Memories

Im trying to do it, im trying to use a custombind or something else like it, but i dont know how to do to the pluging or the code be seeing my hps and jump with the msg and activate the fade memories when im agt low hps, thanks for any help or tipt u can offer me, really thanks friends.

Space-Boy
a hill giant
a hill giant
Posts: 242
Joined: Wed Dec 04, 2002 12:53 pm
Contact:

Post by Space-Boy » Tue Sep 28, 2004 3:52 pm

sounds like an afk macro to me =/

Code: Select all

Sub Main 
   /twist 1 2 3 4 
   /declare fadetimer timer outer 
:hpcheck 
  /if (${fadetimer}<1) /if (${Me.PctHPs}<35) /goto :fade 
  /if (${fadetimer}<1) /if (!${Twisting}) /if (${Me.Grouped}) /twist 1 2 3 4 
  /goto :hpcheck
:fade
  /attack off 
  /twist stop 
  /alt activate 212 
  /vgroup 006 
  /varset fadetimer 600 
  /goto :hpcheck
  /return 
    
 
checks your hps fades you waits a little bit before resuming twisting and wotn start twisting again unless you are in a group, in case you fall asleep you will stay invis faded =D

oh and because this isnt vip i get to flame you now.... this is a request, not a macro you cant get to work, post correctly next time, there is a place called macro requests for a reason, next time you post in macro help without even a snippet of code my wife will hunt you down and perform some gene pool chlorination with a pair of garden shears. =)
You have gotten better at Carpal Tunnel! (247)

Valenciano
decaying skeleton
decaying skeleton
Posts: 7
Joined: Tue Sep 28, 2004 1:57 pm

Post by Valenciano » Wed Sep 29, 2004 9:28 am

not is a afk macro because i personally hate the bards thats do it . I need it for when im for example in main tank group , im sometimes focus my atenttion in the songs for the tank and i forget my hps or if im under attack, is just to not die and my tank lost his bard

Valenciano
decaying skeleton
decaying skeleton
Posts: 7
Joined: Tue Sep 28, 2004 1:57 pm

Post by Valenciano » Wed Sep 29, 2004 9:31 am

hellfire... first of all thanks for help me, u are very kind sire and yes sorry i apologize to make my post here, i ll not do again, thanks again

Valenciano
decaying skeleton
decaying skeleton
Posts: 7
Joined: Tue Sep 28, 2004 1:57 pm

Post by Valenciano » Wed Sep 29, 2004 11:50 am

mm i tried about 10 mins ago and isnt working, i was with a full group and tried to start it, it just was close to quit me out, the code starts a Quiiiickly loop and cast cast cast cast....and cannot be stopped, 0 songs up , i needed to reset the PC to go out of game 8(((

Space-Boy
a hill giant
a hill giant
Posts: 242
Joined: Wed Dec 04, 2002 12:53 pm
Contact:

Post by Space-Boy » Thu Sep 30, 2004 2:01 pm

try it again i changed the code i posted~ also if you want the delay to be shorter for starting songs back up change the "/varset fadetimer 600 " to a lower ammount
You have gotten better at Carpal Tunnel! (247)