Rez add-on to a mac

Reloader

New member
Joined
Jan 9, 2009
Messages
68
Reaction score
0
Points
0
Location
MN
I been trying to add a feature to my hunter mac. and its to revive my merc, buy a stone, and get rezzed in the GL its not working right, neither is my hunter mac, hence why im looking for this.:mad:

or as a short term cast Lay of Hands on myself if i get to 10%
 
People will be able to help you better if you post your code mod and exactly what is "not working" i.e. error messages or what it is doing when it stops working.
 
im to dumb some days

Well i have tired several different attempts at programing this, to no avail im still trying to learn. as for the LoH i don't know how to make a activated ability with an if / then
 
Check if merc is dead, and you're in the lobby:

Code:
Sub MercCheck
   /if (${Me.Mercenary.Equal[UKNOWN]} && ${Zone.ShortName.Equal[guildlobby]) {
      /echo Merc is dead, and you're in the lobby.
      /call WhatEverMakesYouMoveToMerchant here
   }
/Return

Lay on Hands, simple way:

Code:
Sub LoHCheck
   /if (${Me.AbilityReady[Lay on Hands]} && ${Me.PctHPs}<11) {
      /target myself
      /doability Lay on Hands
   }
/Return

Have your Sub Main look something like this:

Code:
Sub Main
   :Loop
   /doevents
   /delay 1s
   /call LoHCheck
   /call MercCheck
   /goto :Loop
/Return

Might be some errors, servers are down and cant test it. But you get the idea

- Cheers.