Basicly, just set up your trigger like you normally would. Then tab over to the send box and type this
history_add All=%0
then tab to the send to box and select execute.
Alternatively if you want to script and then execute something, you would do this instead
Execute("history_add All=%0")
then tab to the send to box and select script.
The %0 will store the whole triggering line in the buffer. You can use %1 through %99 depending on how many wild cards are in your trigger. So for example you could have a triggering line like this.
You attack Bob with your gleaming sword of destruction for 999999 damage. What a blow!
Let's say that line is too long to have in your buffer, you could set your triggering line up to be something like this
You attack * with your * for * damage. *
You'd put that in your trigger box, and type this into the send box
Execute("history_add Damage=You delt %3 damage to %1")
then select script in the send to box.
The buffer would then store the following
You delt 999999 damage to Bob.
Notice, that I did Damage=, rather than All=. This is a way to create more buffers. You could have named it buffer1, or home stretch, or whatever you wanted. To navigate between buffers all you have to do is just alt left and right arrow when you're in the main window of mush, then alt one through 0 will hold the past 10 entries for that buffer, You can also alt up and down arrow to travel through the different entries.
HTH
The universe is a rain storm. We are droplets sent to quench the problems of the world, yet we are blown sideways by the winds of distractions.