• 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

Config - Error on IfSpellImmune

rokn2day

New member
I am trying to use the following command from the ModBot doc's to re-target any mob that is immune to mez and it's throwing an error.

Here's the command I am using:
INI:
IfSpellImmune=/bc {Tank_Name} //multiline ; /varset ACMATarget {Param1};/target id {Param1}

And Here's the error:
INI:
WARNING: Undefinded Variable Tank_Name used on line [email protected] /varset sVarC ${sVarC}$sVarL}${

Thanks for your help all!
 
I am trying to use the following command from the ModBot doc's to re-target any mob that is immune to mez and it's throwing an error.

Here's the command I am using:
INI:
IfSpellImmune=/bc {Tank_Name} //multiline ; /varset ACMATarget {Param1};/target id {Param1}

And Here's the error:
INI:
WARNING: Undefinded Variable Tank_Name used on line [email protected] /varset sVarC ${sVarC}$sVarL}${

Thanks for your help all!
I’m not one with coding goggles so not entirely sure about the ‘varset’ side of things, but I do know that /multiline is fiddly. there needs to be a single space before and after the semi-colon delineating each line. You have it correct on the varset but incorrect on the /target part
 
I’m not one with coding goggles so not entirely sure about the ‘varset’ side of things, but I do know that /multiline is fiddly. there needs to be a single space before and after the semi-colon delineating each line. You have it correct on the varset but incorrect on the /target part
Thank you! @Hylander I'll give that a shot.
 
If you are trying to get your team to switch to another mob, use the ModBot 'switch' command. Simply target the mob and then: /bc switch

You can also pass a Target on the switch command, if you don't want to target it first and you know which mob it is.
 
Thanks Woobs!

You answered two of my questions. The first already stated and the second how to switch mobs. So much goodness built into ModBot. I keep reading, but still have a lot to learn.
 
the issue is stated in the error message.

{Tank_Name}
is not a correct variable. When trying to parse information it should be ${Tank_Name} not {Tank_Name}
This assumes that ${Tank_Name} is an actual variable.
 
Config - Error on IfSpellImmune

Users who are viewing this thread

Back
Top
Cart