# Any idea how to make this sequence shorter?

**URL:** <https://wowlazymacros.com/t/any-idea-how-to-make-this-sequence-shorter/46729>\
**Category:** How To's\
**Created:** [September 26, 2024, 1:39pm UTC](https://wowlazymacros.com/t/any-idea-how-to-make-this-sequence-shorter/46729 "2024-09-26T13:39:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doldhur](https://wowlazymacros.com/user_avatar/wowlazymacros.com/doldhur/32/10280_2.png) [@Doldhur](https://wowlazymacros.com/u/Doldhur)\
**Post date:** [September 26, 2024, 1:39pm UTC](https://wowlazymacros.com/t/any-idea-how-to-make-this-sequence-shorter/46729/1 "2024-09-26T13:39:53Z")

</div>

Hello folks,  
I’m currently trying to improve a macro and unfortunately I am blocked by the character limit.  
I know I can play around with blocks and such but the macro is already quite elaborated, has already a lot of blocks, and if I could just squeeze the command in all the blocks I want it to be, it would be tremendously easier for my nerves to know I didn’t crapped out the efficiency of the macro.

So here is it:

```auto
/cast [mod:ctrl, @mouseover, dead, exists] Intercession; [mod:ctrl,@mouseover, help, nodead][mod:ctrl] Word of Glory

```

Is there a way to win back 15 characters here, or I can’t make it shorter? I saw other posts on this forum where you can basically chain mods commands together, separating them with a “;” but I wasn’t able to make them work (maybe previous version).

I tried also to nest a macro containing just this sequence on the blocks I want, but it seems GSE doesn’t like when we mix Macro names AND Macro commands within the same block action.

Any help much appreciated.

---

<div class="post-metadata">

**Author:** ![zanesavage](https://wowlazymacros.com/user_avatar/wowlazymacros.com/zanesavage/32/7190_2.png) [@zanesavage](https://wowlazymacros.com/u/zanesavage)\
**Post date:** [September 26, 2024, 3:13pm UTC](https://wowlazymacros.com/t/any-idea-how-to-make-this-sequence-shorter/46729/2 "2024-09-26T15:13:35Z")

</div>

This might work:

`/cast [mod:ctrl,@mouseover,dead]Intercession;[mod:ctrl,@mouseover,help][]Word of Glory`

- You can omit `exists` because `@mouseover` implies the target exists. `dead` and `nodead` already specify the target’s state, so `exists` is unnecessary.
- Use `[]` after `help` to ensure `Word of Glory` casts on your default target when no other conditions are met (not 100% sure this will work but give it a try).

---

<div class="post-metadata">

**Author:** ![yosha](https://wowlazymacros.com/letter_avatar_proxy/v4/letter/y/53a042/32.png) [@yosha](https://wowlazymacros.com/u/yosha)\
**Post date:** [September 27, 2024, 3:48am UTC](https://wowlazymacros.com/t/any-idea-how-to-make-this-sequence-shorter/46729/3 "2024-09-27T03:48:49Z")

</div>

shortened by 16;  
`/use [mod:ctrl,@mouseover,dead]Intercession;[mod:ctrl,@mouseover,help,nodead][mod:ctrl]Word of Glory`  
will only cast the spells while ctrl is held and other conditions are met, but;  
`/use [mod:ctrl,@mouseover,dead]Intercession;[mod:ctrl,@mouseover,help,nodead][]Word of Glory`  
will cast WoG on your current target or self if no friendly target, even if ctrl isnt held.

---

<div class="post-metadata">

**Author:** ![Doldhur](https://wowlazymacros.com/user_avatar/wowlazymacros.com/doldhur/32/10280_2.png) [@Doldhur](https://wowlazymacros.com/u/Doldhur)\
**Post date:** [September 30, 2024, 2:42pm UTC](https://wowlazymacros.com/t/any-idea-how-to-make-this-sequence-shorter/46729/4 "2024-09-30T14:42:41Z")

</div>

Hey folks,  
Thanks a lot, both suggestions are great.

The remark about the `[]` is confirmed. If adding it, it does indeed always cast no matter whether the modifier is held or not (which is not the goal). I did remove it from your suggestion and now the macro works fine!  
The is an exception though, It doesn’t cast on myself anymore unless I mouseover myself/my portrait. Is there a way to do that without resorting to this `[]` that messes up the modifier?
