• 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

Whats wrong with this macro?

Easy_Moder

New member
Ok, when it goes to a command it just loops that command. When snare is called its stays in the snare command (casting snare over and over) even though I tell it to /goto :mainloop.
Same as in the :thornshield(cast thorns over and over). For some reason the DoT is working and it will go back to mainloop. Any suggestions?
Rich (BB code):
#include spellcast.inc

#Event snare "#*#snare#*#"
#Event inc  "#*#incoming#*#"
#Event thorns "#*#thorns#*#"

Sub Main	
 /declare assbae int outer
 /declare snarecall int outer
 /declare thorncall int outer
 :mainloop
 /varset snarecall 0
 /varset assbae 0
 /varset thorncall 0
 /target Bibble
 /doevents
 /delay 1s
 /if (${assbae}==1) /goto :DoT
 /if (${snarecall}==1) /goto :snare
 /if (${thorncall}==1) /goto :thornshield
 /goto :mainloop
  
:DoT
  /assist Bibble
  /call cast "Winged Death"
  /delay 1s
  /call cast "Breath of Ro"
  /delay 5s
  /sit
  /goto :mainloop
  
:snare
  /assist Bibble
  /call cast "Ensnare"
  /delay 3s
  /sit 
  /goto :mainloop
  
:thornshield
  /call cast "Shield of Thorns"
  /delay 1s
  /sit
  /goto :mainloop


Sub Event_inc
	/varset assbae 1
/return

Sub Event_snare
	/varset snarecall 1
/return

Sub Event_thorns
	/varset thorncall 1
/return
 
depends on which spellcast.inc your using, but if its the same one that i use, you also need the gem # after the call to cast.

but anyhow, here's what I changed it to, not much different, dunno if this would change anything.
Rich (BB code):
#include spellcast.inc

#Event snare "#*#snare#*#"
#Event inc  "#*#incoming#*#"
#Event thorns "#*#thorns#*#"

Sub Main	
 /declare assbae int outer 0
 /declare snarecall int outer 0
 /declare thorncall int outer 0
 :mainloop



 /target Bibble
 /doevents
 /delay 1s
 /if (${assbae}==1) /call DoT
 /if (${snarecall}==1) /call snare
 /if (${thorncall}==1) /call thornshield
 /goto :mainloop
  /return

sub DoT
  /assist Bibble
  /call cast "Winged Death"
  /delay 1s
  /call cast "Breath of Ro"
  /delay 5s
  /sit
 /varset assbae 0
  /return
  
sub snare
  /assist Bibble
  /call cast "Ensnare"
  /delay 3s
  /sit 
 /varset snarecall 0
/return
  
sub thornshield
  /call cast "Shield of Thorns"
  /delay 1s
  /sit
 /varset thorncall 0
/return


Sub Event_inc
	/varset assbae 1
/return

Sub Event_snare
	/varset snarecall 1
/return

Sub Event_thorns
	/varset thorncall 1
/return
 
Whats wrong with this macro?

Users who are viewing this thread

Back
Top
Cart