• 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

help with macro

meeskino

Member
I'm trying to make a macro for self use.

could anyone help me out with macro that would do the next thing.

cast (spellgem)
/pet assist *target*

/loop

I want my magician to do these things every 1 minute

i'm really noob in macros :)
 
this is my own very basic, very crude macro for forgoten halls. replace your buffs and attack spells as needed. I know it can be greatly improved, but it has worked well for me since level 55 to 76. If you want you can add back the gm check, but it never worked for me well. You can tailer it for a specific mob, but I like the rat room.:o


|
#turbo


Sub Main

/declare strzone int outer ${Zone.ID}
:rat
|||||||||||||1||||||||||||||||||||||||||

/doevents
/call buff
/call pet

/delay 4
/target Rat
/target ${Spawn[npc radius 75 rat]}
/delay 5
/if (${Target.ID[Rat]}) /call Kill
/delay 3
/if (${Target.Type.Equal[Corpse]}) {
/call Loot
}

/delay 3

/delay 5

/if (${Zone.ID}!=${strzone}) /call died

/goto :rat

|||||||||||kill||||||||

sub Kill


/delay 5
|/warp target
/delay 5
/face fast
/stick moveback 39
/delay 8
/face fast
/pet attack
/delay 8
/cast "Malosinatia"
/delay 14s

:fight

/if (${Me.AltAbilityReady[Heart of Flames]}) {
/aa act Heart of Flames
/delay 6
}
/stick off
/delay 6
/cast "Bolt of Molten Dross"
/delay 8s
/delay 2
|/attack
/if (${Me.AltAbilityReady[Servant of Ro]}) {
/aa act Servant of Ro
/delay 6
}
/if (${Me.AltAbilityReady[Host of the Elements]}) {
/aa act Host of the Elements
/delay 6
}

/if (${Target.Type.Equal[Corpse]}) {
/attack off /delay 4
/call Loot
}
/if (${Target.ID}) /goto :fight
/if (!${Target.ID}) { /return }
/if (${Target.Type.Equal[Corpse]}) {
/attack off /delay 4
/call Loot
}
/call loot

/if (${Zone.ID}!=${strzone}) /call died
/return

||||||BUFF||||||||||||

sub buff

:check

/if (!${Me.Buff[Elemental Form: Fire].ID} || ${Me.Buff[Elemental Form: Fire].Duration} < 20 ) {

/aa act Elemental Form: Fire
/delay 6s
/keypress esc
/keypress esc
/goto :check
}
/if (!${Me.Buff[Phantasmal Warden].ID} || ${Me.Buff[Phantasmal Warden].Duration} < 20 ) {
/cast "Phantasmal Warden"
/delay 4s
/goto :check
}

/if (!${Me.Buff[Lavaskin].ID} || ${Me.Buff[Lavaskin].Duration} < 20 ) {
/keypress f1
/delay 4
/cast "Lavaskin"
/delay 5s
/keypress esc
/keypress esc
/goto :check
}
/if (!${Me.Buff[Prime Guard].ID} || ${Me.Buff[Prime Guard].Duration} < 20 ) {
/cast "Prime Guard"
/delay 7s
/goto :check
}


/if (${Me.AltAbilityReady[Lesson of the Devoted]}) {
/aa act Lesson of the Devoted
/delay 6
}
/if (${Me.AltAbilityReady[Steadfast Servant]}) {
/aa act Steadfast Servant

}
/if (${Me.AltAbilityReady[Infusion of the Faithful]}) {
/aa act Infusion of the Faithful

}
/if (${Me.AltAbilityReady[Intensity of the Resolute]}) {
/aa act Intensity of the Resolute

}
/if (${Me.AltAbilityReady[Exquisite Benediction]}) {
/aa act Exquisite Benediction

}


/if (${Zone.ID}!=${strzone}) /call died
/return
/delay 2s



/return

||||||||LOOT|||||||||||

sub loot

/target corpse
/delay 3
/stick 5
/delay 3s
|/warp t
/stick 5
/delay 1s
/loot
/delay 1s
/notify lootwnd lootallButton leftmouseup


/delay 4
/autoinventory
/delay 3
/notify lootwnd lootallButton leftmouseup


/delay 5
/autoinventory
/delay 3
/notify lootwnd lootallButton leftmouseup

/delay 4
/autoinventory
/notify lootwnd lootallButton leftmouseup


/destroy

/delay 6
/autoinventory
/delay 3
/notify lootwnd lootallButton leftmouseup

/destroy

/delay 6
/autoinventory
/delay 3
/notify lootwnd lootallButton leftmouseup
/delay 5

/destroy

/delay 6
/autoinventory
/delay 3
/notify lootwnd lootallButton leftmouseup
/delay 5


/destroy

/delay 9
/destroy
/moveto loc -604.00 157.00
/delay 3s

/if (${Zone.ID}!=${strzone}) /call died
:SitLoop

/if (${Me.PctMana} <=25) {
/echo sitting

/if (${Me.Standing}) {
/sit
/delay 3
}
/delay 140s
/goto :SitLoop
}
}

:sitloop2
/if (${Me.PctHPs}<=60 ) {
/echo sitting

/if (${Me.Standing}) {
/sit
/delay 3
}
/delay 140s
/goto :SitLoop2
}
}
/keypress esc


/if (${Zone.ID}!=${strzone}) /call died
/destroy
/return

|||||||||||
Sub Pet

:buffpet
/target ${Me.Pet}
/delay 1s

/if (!${Target.Buff[Burnout VII].ID} || ${Target.Buff[Burnout VII].Duration} < 50) {
/cast "Burnout VII"
/delay 5s
/goto :buffpet

}

/if (!${Target.Buff[Rathe's Strength Effect].ID}) {
/cast "Rathe's Strength"
/delay 5s
/goto :buffpet

}

/if (!${Target.Buff[Lavaskin].ID} || ${Target.Buff[Lavaskin].Duration} < 50 ) {
/cast "Lavaskin"
/delay 5s
/goto :buffpet

}

/if (!${Target.Buff[Aegis of Calliav].ID} || ${Target.Buff[Aegis of Calliav].Duration} < 20 ) {
/cast "Aegis of Calliav"
/delay 5s
/goto :buffpet
}

/if (!${Target.Buff[Iceflame Guard].ID} || ${Target.Buff[Iceflame Guard].Duration} < 50 ) {
/cast "Iceflame Guard"
/delay 5s
/goto :buffpet
}


/if (${Zone.ID}!=${strzone}) /call died
/return
/return

||||||||||HOLD ITEMS|||||

| GM and Health Checks |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|


sub gm
/keypress instant_camp
/beep
/beep
/beep
/echo [${Time}] GM entered Zone
/endmacro
/return

sub died
|/keypress instant_camp
/beep
/keypress back
/beep
/beep
/keypress back

/echo [${Time}] You died or zoned without ending macro
/delay 5
/sit
/delay 5
/afk
/delay 5
/endmacro
/endmacro
/endmacro
/return
 
Pretty generic could be made much better if you wanted to check a players target before assisting.

i.e. If you wanted it to wait till you had a target below a certain % and within a certain range.

Rich (BB code):
#turbo
|Make sure to load mq2cast

Sub Main
:loop
/casting "spelltocasthere" gem1
/delay 1s
/assist NAMEOFPLAYERTOASSISTHERE
/delay 1s
/pet attack
/delay 55s
/goto :loop
/return
 
Pretty generic could be made much better if you wanted to check a players target before assisting.

i.e. If you wanted it to wait till you had a target below a certain % and within a certain range.

Rich (BB code):
#turbo
|Make sure to load mq2cast

Sub Main
:loop
/casting "spelltocasthere" gem1
/delay 1s
/assist NAMEOFPLAYERTOASSISTHERE
/delay 1s
/pet attack
/delay 55s
/goto :loop
/return

I used it solo, no assist, the time I put in the attack section was to allow pet to get aggro, then I started nuking. but like I said it is very crude, and very basic, I just suck at coding in any form.:(
 
My post was directed at the original poster, we posted at the same time :) I didint read through your code Xmas, (Code tags)

I made mine to exactly what he/she asked for, not quite sure what scenario it was being used for.I wanted to make it a little more efficient hence asking if he/she wanted a assist at/range.
 
My post was directed at the original poster, we posted at the same time :) I didint read through your code Xmas, (Code tags)

I made mine to exactly what he/she asked for, not quite sure what scenario it was being used for.I wanted to make it a little more efficient hence asking if he/she wanted a assist at/range.

I didn't really pay attention to what he wanted I see what he was asking for now, I've liked reading your posts, how would you check to see if your intended assist had a target?
 
I would declare variables for assist name ,assist range and if tank within within range to check if assist has a npc then check hp of npc to make sure its engaged.
 
help with macro

Users who are viewing this thread

Back
Top
Cart