TinyFugue question

by Eamon

Back to Mechanic's Corner.

Eamon2010-06-18 18:09:43
I was wondering if anyone knew a simple way (or has written a macro) that would take a single input command and separate it into a series of consecutive commands to send to the server based on some token? Let me illustrate what I mean:

Say I want to move east, block west, and engage a target all in one smooth movement. I could of course make aliases for every possible combination of commands like this, but that would leave me with a ridiculous number of aliases to remember. What I'd rather do is type:

CODE
EAST; BLOCK W; ENGAGE FAIN


and have some macro read through what I type, separate the string on the ";" token (or another character, doesn't much matter which), and send the three commands to the server all in a row. I am pretty sure I've seen this in other clients, but don't know of an easy way to make Tinyfugue do it. Ideally, I'd like it to even accept my own aliases and expand them before sending them to the server, so I could shorten the above into:


CODE
E; BL W; EN FAIN


where BL is my alias to block and EN is to engage. Any TF guru care to point me in the right direction? pray.gif
Unknown2010-06-18 19:24:36
QUOTE (Eamon @ Jun 18 2010, 07:09 PM) <{POST_SNAPBACK}>
I was wondering if anyone knew a simple way (or has written a macro) that would take a single input command and separate it into a series of consecutive commands to send to the server based on some token? Let me illustrate what I mean:

Say I want to move east, block west, and engage a target all in one smooth movement. I could of course make aliases for every possible combination of commands like this, but that would leave me with a ridiculous number of aliases to remember. What I'd rather do is type:

CODE
EAST; BLOCK W; ENGAGE FAIN


and have some macro read through what I type, separate the string on the ";" token (or another character, doesn't much matter which), and send the three commands to the server all in a row. I am pretty sure I've seen this in other clients, but don't know of an easy way to make Tinyfugue do it. Ideally, I'd like it to even accept my own aliases and expand them before sending them to the server, so I could shorten the above into:


CODE
E; BL W; EN FAIN


where BL is my alias to block and EN is to engage. Any TF guru care to point me in the right direction? pray.gif

Macro example, but same difference. It's %;

/bind
Eamon2010-06-19 01:28:27
CODE
/bind
Unknown2010-06-19 02:43:47
Oh. I read macro, not the command line. Too easy. When you open your world, do /set sub=full

You can now type e%;bl w%;en fain from the input line and it will go through.

Edit: You might be able to get away with /set sub=on as well. Not sure.
Eamon2010-06-19 17:18:05
You're my hero!!!

And both "full" and "on" work, as far as I can tell.