• 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

Modbot Release If Conditional help

Joined
Jun 10, 2019
RedCents
620¢
Looking to make a epic destroy for my mage. currently looking at this, and struggling to figure out the solution.

Previously, this was casting the orb dropping it in mainhand. Now for some reason its fubar not casting orb. not destroying epic, (unless i MB cast epicdestroy).
Some guidance here would be great. Thanks.

Apologize in advance if this is a simpleton problem. Still learning syntax.

[AB1]
Gem=6
Spell=Summon Orb
SpellFoci=
DurMod=0
SpellAlias=Epic
Announce=
SpellMinMana=0
TarCnt=1
TarType=self
Recast=FALSE
SpellIcon=
PreCondition=TRUE

[AB2]
Gem=script
Spell=epicdestroy
SpellFoci=
DurMod=0
SpellAlias=epicdestroy
Announce=
SpellMinMana=0
TarCnt=1
TarType=self
Recast=True
SpellIcon=
PreCondition=TRUE

[AB3]
Gem=Item
Spell=Orb of Mastery
SpellFoci=
DurMod=0
SpellAlias=pet
Announce=
SpellMinMana=0
TarCnt=1
TarType=petspell cbt idle
Recast=True
SpellIcon=
PreCondition=TRUE

[script-epicdestroy]
Commands=2
C1=/if (${FindItem[Orb of Mastery].Charges}==0) /itemnotify mainhand leftmouseup
C2=/destroy
 
I am not familiar with mag at all. Any chance of braking down the process and where its going wrong? Is the spell really called "summon orb"?
 
seems like modbot really wants to cast pet over anything else if pet isn’t up. so petspell has to be marked as both orb of mastery and summon orb or he will cast orb and then not cast the pet. or vice versa won’t cast epic so he can’t summon pet.

Once you summon orb it has one charge to summon the pet.

Then it needs to be deleted and a new orb summoned.
 
Last edited:
I never bothered with my MAG Epic 1. Didn't realize how annoying this is.

I would turn it into one script, most likely not flagged as MB's petspell.

I'll try to fire up a mage on my EMU server and play with it.
 
Looking to make a epic destroy for my mage. currently looking at this, and struggling to figure out the solution.

Previously, this was casting the orb dropping it in mainhand. Now for some reason its fubar not casting orb. not destroying epic, (unless i MB cast epicdestroy).
Some guidance here would be great. Thanks.

Apologize in advance if this is a simpleton problem. Still learning syntax.

[AB1]
Gem=6
Spell=Summon Orb
SpellFoci=
DurMod=0
SpellAlias=Epic
Announce=
SpellMinMana=0
TarCnt=1
TarType=self
Recast=FALSE
SpellIcon=
PreCondition=TRUE

[AB2]
Gem=script
Spell=epicdestroy
SpellFoci=
DurMod=0
SpellAlias=epicdestroy
Announce=
SpellMinMana=0
TarCnt=1
TarType=self
Recast=True
SpellIcon=
PreCondition=TRUE

[AB3]
Gem=Item
Spell=Orb of Mastery
SpellFoci=
DurMod=0
SpellAlias=pet
Announce=
SpellMinMana=0
TarCnt=1
TarType=petspell cbt idle
Recast=True
SpellIcon=
PreCondition=TRUE

[script-epicdestroy]
Commands=2
C1=/if (${FindItem[Orb of Mastery].Charges}==0) /itemnotify mainhand leftmouseup
C2=/destroy
no expeert but your syntax seems wrong

C1=/if (${FindItem[Orb of Mastery].Charges}==0) /itemnotify mainhand leftmouseup should be C1=/if (${FindItem[Orb of Mastery].Charges})==0) /itemnotify mainhand leftmouseup

syntax correction
 
no expeert but your syntax seems wrong

C1=/if (${FindItem[Orb of Mastery].Charges}==0) /itemnotify mainhand leftmouseup should be C1=/if (${FindItem[Orb of Mastery].Charges})==0) /itemnotify mainhand leftmouseup

syntax correction
Actually with ModBot it should be: C1=/if ({FindItem[Orb of Mastery].Charges}==0) /itemnotify mainhand leftmouseup
It doesnt use the $ in character ini files. As to the revised version theres an extra ) in it, the formatting of the original is correct.
 
The entire process (memming the spell, summoning the orb, using it, etc) takes a long time. 30s just to mem the spell. 20s to cast the pet. Wow. So, I have the script exiting at each step and then the next cycle it will move along, etc.. You really can't (and shouldn't) have a script executing such a long time in one go-around.

That being said, try the below entries. Please note that all of the "Quotes" below are pairs of Single-quotes (no double-quotes) as required by ModBot. They are hard to see here.

[AB3]
Gem=script
Spell=EpicScript
DurMod=0
SpellAlias=makepet
Announce=/bc
SpellMinMana=3
TarCnt=1
TarType=petcast
SpellFoci=
SpellIcon=
Recast=FALSE
PreCondition=TRUE

[Script-EpicScript]
Commands=11
c1=/if ({Cursor.ID}) /autoinventory
c2=/if ({FindItem[=Orb of Mastery].Charges}) /multiline ; /useitem ''Orb of Mastery'';/return
c3=/if ({FindItem[=Orb of Mastery].ID}) /itemnotify ''Orb of Mastery'' leftmouseup
c4=/if ({FindItem[=Orb of Mastery].ID}) /delay 1s
c5=/if ({Cursor.Name.Equal[Orb of Mastery]}) /destroy
c6=/if ({Cursor.Name.Equal[Orb of Mastery]}) /delay 1s
c7=/if (!{Me.Gem[Summon Orb]}) /multiline ; /memspell 6 ''Summon Orb'';/return
c8=/delay 1s {Me.Gem[Summon Orb]}
c9=/if ({Me.GemTimer[Summon Orb]}>10) /return
c10=/delay 10s !{Me.GemTimer[Summon Orb]}
c11=/cast ''Summon Orb''

It seems to work OK on my EMU Mage. Let us know how it goes :)
 
ended up breaking this into steps after the one shot failed to work. Prob for the best for the reasons described. After splitting this into 3 individual steps it works like a charm using these resources.

See the below entries for anyone who is ever interested.
[AB1]
Gem=6
Spell=Summon Orb
DurMod=0
SpellAlias=Orb
Announce=/bc
SpellMinMana=3
TarCnt=1
TarType=Self
SpellFoci=
SpellIcon=
Recast=FALSE
PreCondition=/if (!{Me.Inventory[mainhand].ID}) /return TRUE

[AB5]
Gem=item
Spell=Orb of Mastery
SpellFoci=
DurMod=0
SpellAlias=Pet
Announce=
SpellMinMana=0
TarCnt=1
TarType=petcast
Recast=FALSE
SpellIcon=
PreCondition=/if ({FindItem[Orb of Mastery].Charges}==1) /return TRUE

[AB6]
Gem=script
Spell=epicdestroy
SpellFoci=
DurMod=0
SpellAlias=epicdestroy
Announce=
SpellMinMana=0
TarCnt=1
TarType=self
Recast=FALSE
SpellIcon=
PreCondition=/if ({FindItem[Orb of Mastery].Charges}==0) /return TRUE

[script-epicdestroy]
Commands=2
C1=/itemnotify ''Orb of Mastery'' leftmouseup
C2=/destroy
 
Glad you got something working, but did you try the script entry I posted? If so, and it didn't work, can you relate back where it was failing?
 
I don't see any chat messages about 'Summoning Orb' in that script? No messages at all (except for whatever EQ does).
 
im still learning the system and syntax structures. Don't fully have a great grasp of diagnosing hangups so thats the only clue I had at the time I believe.
 
im still learning the system and syntax structures. Don't fully have a great grasp of diagnosing hangups so thats the only clue I had at the time I believe.
Often some /echo ${} stuck in there will tell you what the variable is and can work out allot from that.
 
Modbot Release If Conditional help

Users who are viewing this thread

Back
Top
Cart