Let's say I have the following scenario:
Code: Select all
R HP:Scratched MV:Full - Matmartigan: Critical >
Let's say I want to target Matmartigan with a weave later on. I would like to be able to, in the heat of the moment, hit an alias that saves Matmartigan, and only that name, into the variable.
In my old client, I used '%0' to indicate random pattern but I can't seem to get the brackets right for zmud.
Something like this:
Code: Select all
#alias lt {#var crittarget %0} <- Just so that I can manually change the name of the target.
#alias tt {#tri (- %0: Critical >)} {lt %0} <- This is obviously the part I'm having problems with. I want it to activate and run on keypress and then stop. I used to have an #IF clause in my old client that put out an echo depending on whether there was a target or not.
- then later on followed by a normal target alias:
#alias isc {channel 'ice spikes' h.@crittarget}