Page 1 of 3

Cleric Buff for PoK / Guild Lobby

Posted: Sun Jul 02, 2006 2:34 am
by wakkedup

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

Posted: Sun Jul 02, 2006 3:27 pm
by xomega1
nice program. pm sent

Posted: Sun Jul 02, 2006 10:26 pm
by logitech3
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!

Posted: Mon Jul 03, 2006 6:23 am
by aChallenged1
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!

pet

Posted: Mon Jul 03, 2006 5:55 pm
by wakkedup
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.

Posted: Mon Jul 03, 2006 11:12 pm
by SwiftyMUSE
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.

Still being developed or used?

Posted: Tue Nov 21, 2006 9:49 am
by eqcheater0001
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.

Re: Cleric Buff for PoK / Guild Lobby

Posted: Thu Jul 17, 2025 11:30 pm
by xyilla

Re: Cleric Buff for PoK / Guild Lobby

Posted: Thu Jul 17, 2025 11:32 pm
by xyilla

Re: Cleric Buff for PoK / Guild Lobby

Posted: Thu Jul 17, 2025 11:33 pm
by xyilla

Re: Cleric Buff for PoK / Guild Lobby

Posted: Thu Jul 17, 2025 11:34 pm
by xyilla

Re: Cleric Buff for PoK / Guild Lobby

Posted: Thu Jul 17, 2025 11:35 pm
by xyilla

Re: Cleric Buff for PoK / Guild Lobby

Posted: Thu Jul 17, 2025 11:36 pm
by xyilla

Re: Cleric Buff for PoK / Guild Lobby

Posted: Thu Jul 17, 2025 11:37 pm
by xyilla

Re: Cleric Buff for PoK / Guild Lobby

Posted: Thu Jul 17, 2025 11:38 pm
by xyilla