• 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

My First Auto Buff Macro

kindawg

New member
This is my first handwritten macro. I finnally figured out how they work, yay me.

If anyone has any learning tips for me that might make this cleaner, let me know. Thanks!

(I would like to thank unity0110 for his help so far!)

Rich (BB code):
#Include spell_routines.inc

#Event hit "#1# #*# YOU for#*#
#Event fbuff "#1# tells you,#*#Full buff#*#"
#Event cotg "#1# tells you,#*#Champion#*#"
#Event hot "#1# tells you,#*#Hot#*#"
#Event info "#1# tells you,#*#Info#*#"
#Event 2.0 "#1# tells you,#*#2.0#*#"
#Event follow "#1# tells you,#*#Follow#*#"
#Event nofollow "#1# tells you,#*#Stop#*#"
#Event fd "#1# tells you,#*#Fd#*#"
#Event heal "#1# tells you,#*#Heal#*#"




Sub main
	/echo Shaman manager loaded.
	/popup -=Shaman Manager 1.2=-
	/declare selfh int outer 55
	/declare healwho string outer
:Mainloop
	/if (${Me.PctMana}<=5) /call low
	/if (${Me.PctHPs}<=${selfh}) {
	/varset healwho ${Me}
	/call Heal
}
	/doevents
	/goto :Mainloop
/return

Sub Event_hit(string line, string Attacker)
	/echo ${Attacker} is hitting YOU...Feign Deathing.
	/popup Feign Deathing.
	/stand
	/call Cast "Death Peace"
/return

Sub Event_fbuff(string line, string Name)
	/squelch /target clear
	/target ${Name}
	/tell ${Name} Incoming Full Buffs.
	/echo ${Name} has asked for Full Buffs.
	/popup Buffing ${Name}
	/call Cast "Talisman of Alacrity"
	/delay 30
	/call Cast "Talisman of Sense"
	/delay 30
	/call Cast "Champion of the Gods (KMRA)"
	/delay 20
	/call Cast "Talisman of Fortitude"
	/delay 30
	/call Cast "Talisman of the Shambukoo (KMRA)"
	/tell ${Name} Buffs done
	/sit
/return

Sub Event_cotg(string line, string Name)
	/squelch /target clear
	/target ${Name}
	/call Cast "Champion of the Gods (KMRA)"
	/sit
/return

Sub Event_hot(string line, string Name)
	/squelch /target clear
	/target ${Name}
	/call Cast "Unholy Serenity (KMRA)"
	/sit
/return

Sub Event_info(string line, string Name)
	/squelch /target clear
	/target ${Name}
	/tell ${Name} "Full buff" will give you all shaman buffs.
	/tell ${Name} "Champion" will give you Champion of the Gods.
	/tell ${Name} "Hot" will give you a heal over time.
	/tell ${Name} "2.0" will click the 2.0.
	/tell ${Name} "FD" will Feign Death me, so will a monster hitting me.
	/tell ${Name} "Follow" will make me follow you, "Stop" will stop me from 

following you.
	/tell ${Name} "Heal" will heal you.
/return

sub Heal
	/target ${healwho}
	/call Cast "Soul Mending (KMRA)"
/return

sub low
:lowloop
	/if (${Me.PctMana}>75) {
	/return
}
	/target myself
	/keypress 6
	/delay 10
/goto :lowloop
/return

Sub Event_2.0(string line, string Name)
	/squelch /target clear
	/target ${Name}
	/keypress 5
	/sit
/return

Sub Event_follow(sring line, string Name)
	/squelch /target clear
	/target ${Name}
	/stand
	/stick 25
	/tell ${Name} I am following you.
/return

Sub Event_nofollow(string line, string Name)
	/squelch /target clear
	/target ${Name}
	/stick off
	/sit
	/tell ${Name} I am waiting here.
/return

Sub Event_fd(string line, string Name)
	/squelch /target clear
	/target ${Name}
	/stand
	/call Cast "Death Peace"
	/tell ${Name} Feigning, thanks!
/return

Sub Event_heal(string line, string Name)
	/squelch /target clear
	/target ${Name}
	/stand
	/tell ${Name} Healing you.
	/call Cast "Soul Mending (KMRA)"
	/sit
/return
 
My First Auto Buff Macro

Users who are viewing this thread

Back
Top
Cart