Cleric Buff for PoK / Guild Lobby

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

wakkedup
a ghoul
a ghoul
Posts: 114
Joined: Tue Apr 11, 2006 5:25 am

Cleric Buff for PoK / Guild Lobby

Post by wakkedup » Sun Jul 02, 2006 2:34 am

Code: Select all

Sub Main
 :loopstart
  /echo ...Waiting for Donations...
   :waitfordonation
   /if (${Me.PctMana} < 20) {
	/afk ...Meditating...
	/delay 300s
	/afk
	/goto :waitfordonation
   }
   /if (!${Window[TradeWnd].Open}) {
      /delay 1s ${Window[TradeWnd].Open}
      /goto :waitfordonation
   }
   /delay 5s ${Window[TradeWnd].Open}
   /if (${Window[TradeWnd].HisTradeReady}) {
	/notify TradeWnd TRDW_Trade_Button leftmouseup
     } else {
	/goto :waitfordonation
     }
   /echo ...Donation received! Buffing...
   /echo ...Checking target level...
   /if (${Target.Level} < 45) {
      /face
      /cast 6
      /delay 1s
      /if (${Me.Casting.Name.Equal[Temperance]}) {
	/tell ${Target.CleanName} INC Temp
      } else {
	/cast 6
	/tell ${Target.CleanName} INC Temp
      }
      /delay 20s
    } else /if (${Target.Level} < 46)  {
      /face
      /cast 7
      /delay 1s
      /if (${Me.Casting.Name.Equal[Aegolism]}) {
	/tell ${Target.CleanName} INC Aego
      } else {
	/cast 7
	/tell ${Target.CleanName} INC Aego
      }
      /delay 20s
    } else /if (${Target.Level} < 60)  {
      /face
      /cast 8
      /delay 1s
      /if (${Me.Casting.Name.Equal[Virtue]}) {
	/tell ${Target.CleanName} INC Virt
      } else {
	/cast 8
	/tell ${Target.CleanName} INC Virt
      }
      /delay 20s
    } else {
      /face
      /cast 9
      /delay 1s
      /if (${Me.Casting.Name.Equal[Conviction]}) {
	/tell ${Target.CleanName} INC Vic
      } else {
	/cast 9
	/tell ${Target.CleanName} INC Vic
      }
      /delay 20s
    }
  /goto :loopstart
/return
Something of note: Does not support buffing pets yet, although I plan to add that. It will med at 20% (putting AFK up), assumes you are mounted(does not sit/stand), and spell lineup: 6= Temp, 7= Aego, 8= Virt, 9= Conv. Can possibly alter to just make it cast on Hail w/ a few small changes

xomega1
a ghoul
a ghoul
Posts: 134
Joined: Mon Jun 19, 2006 6:02 pm

Post by xomega1 » Sun Jul 02, 2006 3:27 pm

nice program. pm sent

logitech3
decaying skeleton
decaying skeleton
Posts: 2
Joined: Sun Jun 25, 2006 3:37 pm

Post by logitech3 » Sun Jul 02, 2006 10:26 pm

way nice mac, i thought about making one myself many times but with little knowledge on how to code .... etc I didn't do it but kudos!

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Mon Jul 03, 2006 6:23 am

This may help with the pet portion

when you're targeting the requestor you can simple /target ${Target.Pet}, and then check to be sure that it is not the requestor being targeted.

I thought an "if ${Target.Pet} { Target ${Target.Pet} would work, but it won't because that returns pet's name, not a simple TRUE/FALSE.

There are many ways I can think of to do it, but that is the easiest, but not necessarily the best because you'd have to make a variable for the Requestor's name to check against after you "/target ${Target.Pet}".

Good luck!
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

wakkedup
a ghoul
a ghoul
Posts: 114
Joined: Tue Apr 11, 2006 5:25 am

pet

Post by wakkedup » Mon Jul 03, 2006 5:55 pm

aye, i had just planned on doing something along the lines of

Code: Select all

/if (${Target.Pet.Equal[NULL]}) {
/goto :waitfordonation
} else {
/target ${Target.Pet}
}
will do some testing tonight, had problems with vid card, so not much testing on doing this done over the weekend. i'm sure the code will have to go in several different places, too, unless i do a separate Sub.

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Post by SwiftyMUSE » Mon Jul 03, 2006 11:12 pm

You can do as you like... but not really a good idea to create afk buffing macros. They have been known to come back and haunt the buffer.

eqcheater0001
decaying skeleton
decaying skeleton
Posts: 2
Joined: Wed Oct 04, 2006 7:47 am

Still being developed or used?

Post by eqcheater0001 » Tue Nov 21, 2006 9:49 am

I would like to see a version of this running with pet support. Also just casting on a Hail, Jimbob. No Donations Required, but Accepted kind of deal.

My cleric spends a lot of time in Guild Hall while I run box toons around.

xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Cleric Buff for PoK / Guild Lobby

Post by xyilla » Thu Jul 17, 2025 11:30 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Cleric Buff for PoK / Guild Lobby

Post by xyilla » Thu Jul 17, 2025 11:32 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Cleric Buff for PoK / Guild Lobby

Post by xyilla » Thu Jul 17, 2025 11:33 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Cleric Buff for PoK / Guild Lobby

Post by xyilla » Thu Jul 17, 2025 11:34 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Cleric Buff for PoK / Guild Lobby

Post by xyilla » Thu Jul 17, 2025 11:35 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Cleric Buff for PoK / Guild Lobby

Post by xyilla » Thu Jul 17, 2025 11:36 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Cleric Buff for PoK / Guild Lobby

Post by xyilla » Thu Jul 17, 2025 11:37 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Cleric Buff for PoK / Guild Lobby

Post by xyilla » Thu Jul 17, 2025 11:38 pm