• 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

heal macro help pls

ipass36

New member
ok I need help with this macro


the problem is when one character in my group dies ..the healer starts healing the dead corpse:(

any suggestions to fix this?

Greatly Appreciated!!

here the macro

|Healbot.mac
|Simple Healer Macro to watch the health of a single target
|
|Usage: /mac Healbot <Percent> <Healspell>
|
|Effect: watch target health and cast specified spell at
|specified health. This is just like Healwatch.mac but uses
|spellcast.inc for simplicity/uniformity
|
|By Fantum409 (MODIFIED)
|Date: 05/01/2004
|----------------------------------------------------------

#turbo 40

#include Spell_Routines.inc

#event hpbuff "Your Skin like Nature spell has worn off of#1#."
#event thorns "Your Shield of Thorns spell has worn off of#1#."
#event strength "Your Storm Strength spell has worn off of#1#."
#event regen "Your Chloroplast spell has worn off of#1#."
#event gate "You have insufficient mana to cast this spell#1#."
#event mehpbuff "#*#Your skin loses its dire resiliences#*#"
#event mask "#*#Your features return to normal#*#"
#event mythorns "#*#The viridiflora fall away#*#"
#event dzquit "#*#You have entered Nedaria's Landing#*#"

|------------------------------------------------------|
| EXAMPLE
|------------------------------------------------------|
#event invis "Your Invisibility spell has worn off of#1#."
|------------------------------------------------------|


Sub Main
/echo Healbot started
/declare j int outer 0
/declare plee[21] string outer
[edited by Siddin]
/varset plee[1]
thru
/varset plee[21]
are names and as such were removed
[finished edit by Siddin]

:loop
/if (${Me.Standing} && !${Me.Mount.ID}) /sit
/doevents
/if (${Me.PctHPs}<20) {
/gate
/endm
}
/for j 1 to 21
/target ${plee[${j}]}
/delay 0s
/if (${Target.PctHPs}<80) {
/call cast "Superior Healing" gem1 5s
}
/delay 2
/next j
/goto :loop
/return

Sub Event_gate
/gate
/endmacro
/target Hyati
/mac follow
/return

Sub Event_dzquit
/echo Your exepdition has ended.
/delay 75s
/sit on
/camp desktop
/q
/endmacro
/return

|--------------------------------------------------------------------------------
|SUB: GM Check
|--------------------------------------------------------------------------------
Sub GMCheck

/if (${Spawn[gm].ID}) {
/beep
/beep
/beep

/echo GM has entered the zone!
/echo FUCK HIM but ending the macro...

/keypress forward
/keypress back

/quit
/endmacro
}

/return


thanks alot ipass :wink: :)
 
Last edited by a moderator:
change
/target ${plee[${j}]}
to
Rich (BB code):
  /if (${SpawnCount[${plee[${j} pc]}]}>=1) {
  /target ${plee[${j}]} pc
  } else {
  /squelch /target clear
  /next j
  }
 
thanks siddin:)

just 1 more issue with this heal macro

everytime i run it..the healer sitdown then stands up repeatedly(buttbumping) my GF called it lol

can you,please fix that thanks alotP

ipass :D
 
to change that, really all you need to change is the % that you are healing at. this way you end up sitting more than you should be casting. Do you have to heal at 80% or can you wait longer to heal and still not have to race to heal again?
 
change
Rich (BB code):
/if (${Target.PctHPs}<80) {
/call cast "Superior Healing" gem1 5s
}
to
Rich (BB code):
/if (${Target.PctHPs}<80 && ${Target.PctHPs}>=60 && ${Target.Class.Equal[Warrior]}) {
/call cast "Complete Healing" gem2 10s
}
/if (${Target.PctHPs}<60 && ${Target.Class.Equal[Warrior]}) {
/call cast "Superior Healing" gem1 5s
}
/if (${Target.PctHPs}<50 && ${Target.Class.Equal[Monk]}) {
/call cast "Superior Healing" gem1 5s
}
/if (${Target.PctHPs}<80 && ${Target.Class.Equal[Enchanter]}) {
/call cast "Superior Healing" gem1 5s
}
/if (${Target.PctHPs}<80 && ${Target.Class.Equal[Cleric]}) {
/call cast "Superior Healing" gem1 5s
}
/if (${Target.PctHPs}<70 && ${Target.Class.NotEqual[Cleric]} && ${Target.Class.NotEqual[Enchanter]} && ${Target.Class.NotEqual[Monk]} && ${Target.Class.NotEqual[Warrior]}) {
/call cast "Superior Healing" gem1 5s
}
 
ok, then we can change the whole block of code from
Rich (BB code):
/if (${Target.PctHPs}<80 && ${Target.PctHPs}>=60 && ${Target.Class.Equal[Warrior]}) {
/call cast "Complete Healing" gem2 10s
}
/if (${Target.PctHPs}<60 && ${Target.Class.Equal[Warrior]}) {
/call cast "Superior Healing" gem1 5s
}
/if (${Target.PctHPs}<50 && ${Target.Class.Equal[Monk]}) {
/call cast "Superior Healing" gem1 5s
}
/if (${Target.PctHPs}<80 && ${Target.Class.Equal[Enchanter]}) {
/call cast "Superior Healing" gem1 5s
}
/if (${Target.PctHPs}<80 && ${Target.Class.Equal[Cleric]}) {
/call cast "Superior Healing" gem1 5s
}
/if (${Target.PctHPs}<70 && ${Target.Class.NotEqual[Cleric]} && ${Target.Class.NotEqual[Enchanter]} && ${Target.Class.NotEqual[Monk]} && ${Target.Class.NotEqual[Warrior]}) {
/call cast "Superior Healing" gem1 5s
}
to
Rich (BB code):
/if (${Target.Class.Equal[Warrior]} || ${Target.Class.Equal[Monk]} || ${Target.Class.Equal[Cleric]} || ${Target.Class.Equal[Enchanter]}) {
/if (${Target.PctHPs}<80 && ${Target.PctHPs}>=60 && ${Target.Class.Equal[Warrior]}) {
/call cast "Complete Healing" gem2 10s
}
/if (${Target.PctHPs}<60 && ${Target.Class.Equal[Warrior]}) {
/call cast "Superior Healing" gem1 5s
}
/if (${Target.PctHPs}<50 && ${Target.Class.Equal[Monk]}) {
/call cast "Superior Healing" gem1 5s
}
/if (${Target.PctHPs}<80 && ${Target.Class.Equal[Enchanter]}) {
/call cast "Superior Healing" gem1 5s
}
/if (${Target.PctHPs}<80 && ${Target.Class.Equal[Cleric]}) {
/call cast "Superior Healing" gem1 5s
}
} else {
/if (${Target.PctHPs}<70) {
/call cast "Superior Healing" gem1 5s
}
}
 
Last edited:
heal macro help pls

Users who are viewing this thread

Back
Top
Cart