• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Problem - Modbot error on THF(Emu)

Joined
Jul 8, 2015
RedCents
842¢
Running RG Very Vanilla install of MQ2 on THF while trying to set things up and doing trial and error stuff to see what works and not works, i tried this modbot version out here.
Anyway when i try to run modbot and a character starts to buff i get the following error.
Code:
Failed to parse /if command.  Could not find command to execute.

modbuff.inc@651 (BuffThem(int a, int tSpellID, int tGem, int tTargetID, int tBot)): /if (!${Select[${Cast.Result},cast_immune,cast_takehold]} || ${ABTarCnt[${a}]}>1)) {

modbuff.inc@254 (ABBuffCheck): /call BuffThem ${a} ${tSpellID} ${tGem} ${tTargetID} ${tBot}

modbot.mac@139 (Main(INI)): /if (${DoBuffs} && ${ABCount} && !${ABCheckTimer} && !${APPullDelay}) /call ABBuffCheck

Usage: /if (<conditions>) <command>
 
I posted the fix for this in another thread. Remove the extra parentheses so the line looks like:

/if (!${Select[${Cast.Result},cast_immune,cast_takehold]} || ${ABTarCnt[${a}]}>1) {

I will put together a fix-release package.
 
Last edited:
No thank you for the fast fix, hope you don't mind that i have the next one already

When giving a mage the command pettoys (not sure how it would work automatically so far in this version)
Code:
Subroutine 10s wasn't found

modbot.inc@3477 (MQ2Cast(string spellName,string spellType,timer giveUpTimer,string mySub,string MQ2Feature1,string MQ2Feature2,string MQ2Feature3,string MQ2Feature4)): /if (${mySub.Length}) /call ${mySub} ${giveUpTimer}

modbot.inc@3176 (PetToys(int petID)): /call MQ2Cast "${PTSpell[${i}].Arg[1,|]}" ${PTSpell[${i}].Arg[2,|]} 10s -targetID|${Me.ID} -maxtries|3

modbot.inc@1114 (Event_chat(MsgType,MsgFrom,MsgText)): /call PetToys "${Spawn[pc ${SenderName}].Pet.ID}"

modbot.inc@290 (Event_EQBC(EQBCSay,EQBCSender,EQBCCommand)): /call Event_chat "eqbc" "${EQBCSender}" "${EQBCCommand}"

modbot.mac@174 (Main(INI)): /doevents
 
Problem - Modbot error on THF(Emu)

Users who are viewing this thread

Back
Top
Cart