Question about /bind and or macros!


Decorum

 

Posted

im trying to bind a macro to the f1 key a emote and also have it use respite at the same time. i can bind the emote easy enough but adding respite to it isnt working. this is what i tried: /bind f1 "e Your life is forfeit!" $$inspexec_name respite

when i do that it binds the emote but instead of binding the use of respite it just uses it right away. what am i doing wrong? thanks ahead of time!


 

Posted

/bind f1 "e Your life is forfeit!" $$inspexec_name respite

That doesn't look like you're trying to bind an emote, but binding saying something. That would be...

/bind f1 "say Your life is forfeit!$$inspexec_name respite

And I'm not sure about your last line. Don't you want to say that and use the respite? That sounds like what your saying is happening.


Dec out.

 

Posted

that worked! thanks very much!


 

Posted

I'd use L vs. SAY in that - say will default to your currently selected chat channel, and you could spam teammates/friends/etc. with that. L will force it to local.


Orc&Pie No.53230 There is an orc, and somehow, he got a pie. And you are hungry.
www.repeat-offenders.net

Negaduck: I see you found the crumb. I knew you'd never notice the huge flag.

 

Posted

Using e in the bind will still work, but it'll be in italics as if it's an action. I have my TY and GRATZ programmed that way for no apparent reason as well. It just stands out.

Anyway, I think the reason the OP's ind dind't work to begin with is because of his quote positioning. That's why it was using the respite right away instead of binding it. It was running (bind f1 "e Your life is forfeit!"), and then performing (inspexec_name respite).

In order to bind multiple commands, you should enclose the entire thing in a quote so that it knows to save everything after the $$ in the bind as well, or else it stops the bind command at the $$, then runs whatever is after it.
Or, as shown above, you can use a start quote and leave it open-ended. It's messy, but sometimes it gets the job done, which is why if the OP copy/pasted what Decorum showed above, it finally worked. The quotes were positioned differently.