Page 1 of 1

2boxheal.mac --- using /tells to cast spells

Posted: Mon Sep 08, 2008 3:18 am
by mungobungo
You could easily change this for a non-healer to cast any spells you want. This is just how I use it. Macro credit is anonymous.

"/tell cleric01 h person01" = heal over time cast on the person01, etc.

Code: Select all

| 2boxHeal.mac

#Event HealL "#1# tells you, 'l #2#'" 
#Event HealR "#1# tells you, 'r #2#'"
#Event HealC "#1# tells you, 'c #2#'"
#Event HealH "#1# tells you, 'h #2#'"
#Event HealG "#1# tells you, 'g'"
#Event HealP "#1# tells you, 'p #2#'"
#Event DI "#1# tells you, 'di #2#'"

#event Fizzle "Your spell fizzles#*#" 

Sub Main
/declare FizzleSlot int outer
/declare FizzleTimer timer outer 2s
/declare LightSpell string outer "Solemn Light Rk. II"
/declare RemedySpell string outer "Solemn Remedy Rk. II"
/declare CompleteSpell string outer "Complete Heal"
/declare HoTSpell string outer "Solemn Elixir"
/declare PromiseSpell string outer "Promised Restoration"
/declare GroupSpell string outer "Word of Vivacity"
/declare DISpell string outer "Divine Intervention"
/echo 2BoxHeal Activated
:MainLoop
	/doevents    
	/goto :MainLoop
/return


Sub Event_Fizzle(Textstuff)
	/if (${FizzleTimer}>0) {
		/cast ${FizzleSlot}
		/varset FizzleTimer 2s
	}
/return 

Sub Event_HealL(Line,Teller,Who) 
   /if (${Who.NotEqual[target]}) {
      /tar pc ${Who}	
   } else {
      /assist ${Teller}
   }
   /cast ${LightSpell}
   /varset FizzleSlot ${Me.Gem[${LightSpell}]}
   /varset FizzleTimer 2s
/return

Sub Event_HealR(Line,Teller,Who) 
   /if (${Who.NotEqual[target]}) {
      /tar pc ${Who}	
   } else {
      /assist ${Teller}
   }
   /cast ${RemedySpell}
   /varset FizzleSlot ${Me.Gem[${RemedySpell}]}
   /varset FizzleTimer 2s
/return

Sub Event_HealC(Line,Teller,Who) 
   /if (${Who.NotEqual[target]}) {
      /tar pc ${Who}	
   } else {
      /assist ${Teller}
   }
   /cast ${CompleteSpell}
   /varset FizzleSlot ${Me.Gem[${CompleteSpell}]}
   /varset FizzleTimer 2s
/return

Sub Event_HealH(Line,Teller,Who) 
   /if (${Who.NotEqual[target]}) {
      /tar pc ${Who}	
   } else {
      /assist ${Teller}
   }
   /cast ${HoTSpell}
   /varset FizzleSlot ${Me.Gem[${HoTSpell}]}
   /varset FizzleTimer 2s
/return

Sub Event_HealG(Line,Teller,Who) 
   /cast ${GroupSpell}
   /varset FizzleSlot ${Me.Gem[${GroupSpell}]}
   /varset FizzleTimer 2s
/return

Sub Event_HealP(Line,Teller,Who) 
   /if (${Who.NotEqual[target]}) {
      /tar pc ${Who}
   } else {
      /assist ${Teller}
   }
   /cast ${PromiseSpell}
   /varset FizzleSlot ${Me.Gem[${PromiseSpell}]}
   /varset FizzleTimer 2s
/return

Sub Event_DI(Line,Teller,Who) 
   /if (${Who.NotEqual[target]}) {
      /tar pc ${Who}	
   } else {
      /assist ${Teller}
   }
   /cast ${DISpell}
   /varset FizzleSlot ${Me.Gem[${DISpell}]}
   /varset FizzleTimer 2s
   
/return

Posted: Mon Sep 08, 2008 10:28 am
by kuda
Let me be the first to say, donate and get some of the better tools to handling your problem at hand (MQ2EQBC plugin for communication or MQ2IRC and then any number of a few heal bots).

Let me also recommend NOT sending tells to automate this process. GMs can certainly monitor tells.

Posted: Mon Sep 08, 2008 10:36 am
by mekaniak
Kudos to you writing a working macro, but I must agree with kuda, get yourself EQBC and handle the communication through that. Much safer and isn't monitored by GMs.

Posted: Mon Sep 08, 2008 1:57 pm
by mungobungo
Ah I didn't know that, I'd gladly donate if I was able to spend the extra money, but I can't for a while.

Posted: Mon Sep 08, 2008 3:16 pm
by drzoon
You pay for more than 1 EQ account and can't spare $10?

Posted: Mon Sep 08, 2008 3:24 pm
by kuda
Well, if you don't have the 10$ to donate, then I would recommend looking into making it a smart heal. Have the bot healer watch your groups (or specific target) hps.

Code: Select all

/declare iLoop int local
/for iLoop 0 to ${Group.Members}
    /if (${Group.Member[${iLoop}].PctHPs} < 65) /cast ${CompleteSpell}
/next iLoop
Remember to check for mana, your self heals, if you are invis, if you are casting or anything else that makes sense before you send your script off to healing others (I do other checks like, if I am getting hit, the type of class and what level I need to be concerned with their heals). You can get really creative, and make some pretty smart healing processes. I literally on raids do more monitoring of my script than anything.

Posted: Mon Sep 08, 2008 3:29 pm
by slimjim
i'd just implement this chat based system into an auto heal bot. That way you still have control over the character and he'll heal if it's needed and isn't casting.

P.S. People still play this game?

Posted: Mon Sep 08, 2008 4:53 pm
by Olain
slimjim wrote: P.S. People still play this game?
I'm paying for and playing 4 characters. Still live and well.

Re:

Posted: Tue Oct 26, 2010 9:51 pm
by gse7en
Olain wrote:
slimjim wrote: P.S. People still play this game?
I'm paying for and playing 4 characters. Still live and well.
It's 2010. I pay for 4 characters and still play. It can be argued this game is better than ever.

Re: 2boxheal.mac --- using /tells to cast spells

Posted: Wed Oct 27, 2010 8:07 am
by grumpyogre
Yup with this past payday I just brought back two more characters. Next payday I will bring back number 7 (and final). Money has been too tight for me to box for a few months (wife and son both started college together this year) but we are catching up. I got lucky and picked up one extra hour a week at work, so $30x4 = free EQ and the wife don't complain! Anywho, ya, I still play this game and love it love it.

Re: 2boxheal.mac --- using /tells to cast spells

Posted: Mon Jan 12, 2026 10:14 pm
by xyilla

Re: 2boxheal.mac --- using /tells to cast spells

Posted: Mon Jan 12, 2026 10:16 pm
by xyilla