• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Help with macro (1 Viewer)

salomo

New member
Joined
Sep 4, 2005
RedCents
maybe someone can help me with a little hint

i want to add some more shortcut words for buffing.

Rich (BB code):
/if (${ChatText.Equal[SV]}) { 
     /if (${Target.Type.Equal[NPC]} && ${Me.Combat}) { 
         /if (${useMU} && ${Stick.Status.Equal[ON]}) /squelch /stick off 
    /attack off 
    /varset midfightcast TRUE 
    /varset oldtargetID ${Target.ID} 
    } 
         /target pc ${Sender} 
    /if (${Verbose}) /tell ${Sender} SV inc! 
   :svwait 
         /if (${Target.Type.Equal[PC]} && ${Target.Distance}<=100) /call cast ${SpellHPBuff} gem6 9s 
    /if (${Macro.Return.Equal["CAST_SUCCESS"]} || ${Macro.Return.Equal["CAST_NOTHOLD"]}) /goto :svdone 
    /goto :svwait 
   :svdone 
    /if (${midfightcast}) { 
    /varset midfightcast FALSE 
    /target id ${oldtargetID} 
    /if (${Target.ID}==${oldtargetID} && ${Target.Type.NotEqual[CORPSE]}) { 
    /if (${useMU}) /squelch /stick on 
    /attack on 
    } 
    } 
      }
Now my bot is buffing on tell or if someone tell in group "SV" but i want to add some other shortcuts like "bstbrell"

What must i add to this macro that he handle more shortcuts ?

Thanks
 
Rich (BB code):
if (${ChatText.Equal[Shortcutnamehere]}) 
{ /cast "Spellnamehere" }

This will not handle interrupts, fizzles etc. At the top of your macro if you have Spellroutines.inc....add an

Rich (BB code):
#include Spellroutines.inc

and make sure spell routines is in your macro folder too
 
Spellroutines is included.

I need to add a second shortcutname.

Rich (BB code):
/if (${ChatText.Equal[SV]}) (${ChatText.Equal[bstbrell]}) {

this dont work.

that is my problem.
 
Just use copies of my statement, that or make an OR comparison between the two.....or three, or four etc.....or I will do it later, have to run someplace quick

Edit: Turned out I didn't have to be away long...Okay this is using an OR comparison, which means if it sees any of these words it will do the same thing (Cast the same spell that has diff shortcut names)

Rich (BB code):
if (${ChatText.Equal[SV]} 
|| 
${ChatText.Equal[bstbrell]} 
|| 
${ChatText.Equal[bsthp]} 
|| 
${ChatText.Equal[hpbuff]}) {

And if you want to make more for yourself in the future just use || (Key above enter hold shift+use it) between each different shortcut etc. You only need *TWO* parentheses, one at the very beginning and one after that last shortcut (I put them in red)
 
if i replace my

Rich (BB code):
/if (${ChatText.Equal[SV]}) {

with your

Rich (BB code):
if (${ChatText.Equal[SV]} 
|| 
${ChatText.Equal[bstbrell]} 
|| 
${ChatText.Equal[bsthp]} 
|| 
${ChatText.Equal[hpbuff]}) {

he will on the shortcutname chainbuffing with no end.
 
Help with macro

Users who are viewing this thread

Back
Top