Rare Spawn
Well-known member
- Joined
- Oct 10, 2022
- RedCents
- 3,282¢
None of these work as expected from the console/hotkey/buttomaster:
[CODE title="mq cli"]/if (${Me.TributeActive}) {/dgga /multiline ; /tribute personal off;/trophy personal off} else {/dgga /multiline ; /tribute personal on;/trophy personal on}
/if (${Me.TributeActive}) {/dgga /multiline ; /tribute personal off;/trophy personal off} else /dgga /multiline ; /tribute personal on;/trophy personal on
/if (${Me.TributeActive}) {/dgga /multiline ; /tribute personal off;/trophy personal off}
[/CODE]
The problem seems to be with the {} as this doesn't work in hoitkeys, console, etc:
[CODE title="mq cli"]/if (${Me.TributeActive}) /dgga /multiline ; /tribute personal off;/trophy personal off
[/CODE]
Do the {} only work when executed from a .mac file? How can I do an if/else in a single like for hotbuttons?
Thanks in advance.
[CODE title="mq cli"]/if (${Me.TributeActive}) {/dgga /multiline ; /tribute personal off;/trophy personal off} else {/dgga /multiline ; /tribute personal on;/trophy personal on}
/if (${Me.TributeActive}) {/dgga /multiline ; /tribute personal off;/trophy personal off} else /dgga /multiline ; /tribute personal on;/trophy personal on
/if (${Me.TributeActive}) {/dgga /multiline ; /tribute personal off;/trophy personal off}
[/CODE]
The problem seems to be with the {} as this doesn't work in hoitkeys, console, etc:
[CODE title="mq cli"]/if (${Me.TributeActive}) /dgga /multiline ; /tribute personal off;/trophy personal off
[/CODE]
Do the {} only work when executed from a .mac file? How can I do an if/else in a single like for hotbuttons?
Thanks in advance.
Last edited:

