Hi, I am not sure if this is possible but it will make things simple for me to do if it is.
I want to have a trigger that uses a variable as it's match line.
The variable would be a simple string defined by myself.
The variable will be the only thing in the trigger match line, and mudlet would be looking for it as a simple string.
The string I am looking for could pop up anywhere so I wouldn't necessarily be able to look for something else and use a matches. I basically need the trigger to fire whenever mudlet encounters this variable.
So I would do hunting_target = cultist
then my trigger would be hunting_target
trying_to_attack = true
I suppose this might not be possible and it would not be a very slick operation , still can anyone help?
Using a Variable in Trigger Match Line
Re: Using a Variable in Trigger Match Line
Another alternative, and a more efficient design, would be to adapt the highlighting example here (which does a similar thing, creates a trigger for a variable thing): http://wiki.mudlet.org/w/Manual:Technic ... _target.3F