• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Paladin Macro - need some assistance (1 Viewer)

Cpt_Cam

Member
Joined
Jul 30, 2005
RedCents
This short bit of code...my /if statement never seems to fire..

Rich (BB code):
Sub Main
/declare Proc string outer Divine Aura
/declare Ward string outer Ward of Tunare
/echo DaHammer for the lazy raiding paladin
:watchproc
 
/if (${Me.Buff[${Proc}]}) {
		/say DA OFF in ${Me.Buff[${Proc}].Duration} SECONDS I'm at ${Me.PctHPs} % HP
 
 
	 }
 
/if (${Me.Buff[$Ward]}) {
		/echo will do some stuff here later...
	 }
 
 
/goto :watchproc
 
 
/return
 
note: the way you have this set up, it will spam say faster than a normal person could type.....
Rich (BB code):
Sub Main
/declare Proc string outer Divine Aura
/declare Ward string outer Ward of Tunare
/echo DaHammer for the lazy raiding paladin
:watchproc
 
/if (${Me.Buff[${Proc}].ID}) {
/say DA OFF in ${Me.Buff[${Proc}].Duration} SECONDS I'm at ${Me.PctHPs} % HP
 
 
}
 
/if (${Me.Buff[$Ward].ID}) {
/echo will do some stuff here later...
}
 
 
/goto :watchproc
 
 
/return
 
I figured it out...but it's real dirty...I'll clean it up later..


had to do some math for ticks to seconds conversion and setup a variable...

You're right..I need to set some controls for spam..but I got the essentials of the code...thanks!

Rich (BB code):
Sub Main
/declare Proc string outer Divine Aura
/declare Ward string outer Ward of Tunare
/echo DaHammer for the lazy raiding paladin
/declare ProcDuration int outer 25
:watchproc
|/echo debug init variable is ${ProcDuration}
/echo Variable PROC is set to ${Proc}
/delay 1s
/if (${Me.Song[${Proc}].ID}) {   
/varset ProcDuration ${Math.Calc[${Me.Song[${Proc}].Duration.TotalSeconds}/2]}

/delay 2s
/echo DA OFF in ${ProcDuration} SECONDS I'm at ${Me.PctHPs} % HP   
 }
		
		
		

/if (${Me.Buff[$Ward]})  {
		/echo will do some stuff here later...
	   }
 

/goto :watchproc
 

/return
 
Paladin Macro - need some assistance

Users who are viewing this thread

Back
Top