I'm trying to create a transperant alias, that is, one that reports every command (and alias) to a script function, but it's not really that easy it seems :-)
The purpose of the alias is to record user interaction, so it can be outputted (or repeated) later.
So, as an example:
e
n
ed [alias: open east door]
e
should give 4 calls to the function, one problem I can see atleast, even if I could make it work, is that the actual sequence is:
e
n
ed [alias: open east door]
<open east doodr>
e
with an extra command, that I'm not interested in..
Any hints, workarounds? I tried creating a '*' alias with "Keep Evaluating", but to no avail.
I'm -only- interested in recording user commands, not triggers etc.
Thanks,
- Rasmus.
The purpose of the alias is to record user interaction, so it can be outputted (or repeated) later.
So, as an example:
e
n
ed [alias: open east door]
e
should give 4 calls to the function, one problem I can see atleast, even if I could make it work, is that the actual sequence is:
e
n
ed [alias: open east door]
<open east doodr>
e
with an extra command, that I'm not interested in..
Any hints, workarounds? I tried creating a '*' alias with "Keep Evaluating", but to no avail.
I'm -only- interested in recording user commands, not triggers etc.
Thanks,
- Rasmus.