Xavius2008-01-18 04:51:45
Ok, so, the goal is to be able to highlight things in a class folder added from a target variable. Ciaran's system has a script to highlight notable fighters that looks like:
#alias {glom}
{#class {Glom}
#trigger {%1} {#cw purple}
#class 0}
#alias {unglom}
{#class {Glom}
#untrigger {%1}
#class 0}
It works great. I have a whole bunch of trigger lines like Xavius and Daevos and Forren floating around, but I don't notice lag for it, so whatever.
Anyways, I have a similar thing triggered:
#class {DoneMonks}
#trigger {@inftarget} {#cw pink}
#class 0
All it does is make a trigger for @inftarget, not the stored value. How do I force zMUD to expand the variable before making the trigger?
Also, on the same note, is there a quick way to reset the class to having no stored triggers?
Thanks!
#alias {glom}
{#class {Glom}
#trigger {%1} {#cw purple}
#class 0}
#alias {unglom}
{#class {Glom}
#untrigger {%1}
#class 0}
It works great. I have a whole bunch of trigger lines like Xavius and Daevos and Forren floating around, but I don't notice lag for it, so whatever.
Anyways, I have a similar thing triggered:
#class {DoneMonks}
#trigger {@inftarget} {#cw pink}
#class 0
All it does is make a trigger for @inftarget, not the stored value. How do I force zMUD to expand the variable before making the trigger?
Also, on the same note, is there a quick way to reset the class to having no stored triggers?
Thanks!
Burke2008-01-18 09:40:38
I believe putting a set of curlys {} around it will expand it. So, #trigger {{@inftarget}} {#cw pink}
Looks weird to me, though, so I might be screwing this one up.
Looks weird to me, though, so I might be screwing this one up.
Xavius2008-01-18 10:13:41
{<@inftarget>} does it.
Any advice on removing them all?
Any advice on removing them all?
Ilyarin2008-01-18 10:42:28
I don't know if zMUD has it, but #DELCLASS does it in cMUD. Does that work?