• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Mend and HUD

SaBiN

New member
Since mend is one of those abilities that is either just up or down (not a, you cannot use this ability for 2 minutes 21 seconds) kinda deal, is it possible to have a timer for mend on your HUD?
 
I would imagine it would look like this:

Rich (BB code):
//Mend
Mendtext=3,655,257,255,234,8,Mend
Mendreadytext=3,755,257,0,255,0,${If[${String[${Me.AltAbilityReady[Mend]}].Equal["TRUE"]},Ready,]}
Mendnotready=3,755,257,255,0,0,${If[${String[${Me.AltAbilityReady[Mend]}].Equal["TRUE"]}, ,Available in ${Me.AltAbilityTimer[Mend].TimeHMS}]}

But I am not 100% sure if it is AltAbilityReady or CombatAbilityReady. Try this.
 
Mend is neither.

To do this in the HUD, you'd have to mess around with code to check if the mend button in your hotbutton window were up or down.
 
This one is the right code:

Rich (BB code):
//Mend
Mendtext=3,655,329,255,234,8,Mend
Mendreadytext=3,755,329,0,255,0,${If[${String[${Me.AbilityReady[Mend]}].Equal["TRUE"]},Ready,]}
Mendnotready=3,755,329,255,0,0,${If[${String[${Me.AbilityReady[Mend]}].Equal["TRUE"]}, ,Available in ${Me.AbilityTimer[Mend].TimeHMS}]}

It is neither an alt ability or combat ability, just a plain old ability. This one should work.

Weird the timer is not working like you would think it should.
 
Hehe, well i have it in a macro i leave up in my monk, event i use mend, then it starts a 6 min timer. Then that is the timer I use in my hud. regular abilies do not have timers on client side. Will post mac in a minute.

I just cut out most of the parts I have in mine, like it auto uses potions at a % and stuff, random other crap I am too lazy to do myself, I can post it all up some time if people want, this will do the mend timer use ${MendTimer} to get the ticks till it is ready...

Rich (BB code):
MendTimer=3,545,128,255,000,000,  ${Int[${Math.Calc[${MendTimer}\600]}]}:${Int[${Math.Calc[${Math.Calc[${MendTimer}%600]}\10]}]}

is the line from my hud file for showing the time in the hud.

Rich (BB code):
| 
| Monk.mac
|

|~~~~~~~~|
| EVENTS |
|~~~~~~~~|
#Event Mend 		"You mend your wounds and heal some damage."
#Event Mend 		"You magically mend your wounds and heal considerable damage."
#Event Toggle 		"[MQ2] Toggle #1#"
#Event Toggle 		"[MQ2] Toggle #1# #2#"
#Event FDFail 		"<insert toon name here> has fallen to the ground."

Sub main
	|~~~~~~~~~~~|
	| VARIABLES |
	|~~~~~~~~~~~|
	/declare SelfHaste 	bool 	outer TRUE
	/declare MendTimer 	timer 	outer 0s
	
	|~~~~~~~~~|
	| ALIASES |
	|~~~~~~~~~|
	/alias /selfhaste 	/echo Toggle SelfHaste
	/alias /mend		/echo Minutes till mend is ready: ${Math.Calc[${MendTimer}/600]}

	|~~~~~~~~~~~|
	| MAIN LOOP |
	|~~~~~~~~~~~|
	/echo Monk macro starting...
	/echo Selfhaste = ${SelfHaste}
	/echo Exptracker = ${ExadpTracker}
	:main
	/doevents
	|Selfhaste Check
	/if (!${Me.Buff[Celestial Tranquility].ID} && ${Me.Combat} && ${SelfHaste}) {
		/call cast "Gauntlets of Enlightenment" item
	}
	/goto :main
/return

|~~~~~~~~~~~~~~~~~~~|
| EVENT SUBROUTINES |
|~~~~~~~~~~~~~~~~~~~|

Sub Event_Mend
		/varset MendTimer 360s
/return

Sub Event_Toggle(Line,Variable,Setting)
	/if (${Defined[${Variable}]}) {
		/if (${Defined[${Setting}]}) {
			/if (${${Setting}} == "off") {
				/varset ${Variable} FALSE
				} else {
					/varset ${Variable} TRUE
				}
			} else {
			/if (${${Variable}}) {
				/varset ${Variable} FALSE
			} else {
				/varset ${Variable} TRUE
			}
			/echo ${Variable} set to ${${Variable}}
		}
	}
/return

Sub Event_FDFail
	/popup FD FAILED!!!
/return
 
Mend and HUD

Users who are viewing this thread

Back
Top
Cart