Multiline Triggers

Posted by Meraki on Mon 26 May 2014 03:34 PM — 3 posts, 14,607 views.

#0
I've searched for quite some time but I can't really find anything on matching a trigger to more than one line.

Here is what I'm trying to do:

I'm using a trigger to track the quest item I'm looking for so I don't have to check all the time what I'm looking for. The problem is when anyone in the room asks for a quest it will set the variable to what they're looking for instead. My solution to this is to make a multi-line trigger to make a condition to set the variable only when my name is spoken.

If there is an alternative to this I'm also open to it.

Thanks in advance!
Australia Forum Administrator #1
Can you post your current solution?

Template:copying
For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.


Also post some example output from the MUD. For example, when you get the quest, and an example of someone else getting a quest.
#2
I've actually found a solution to what I'm doing different to what I already intended. I can get the info for my quest that comes in the example:

You are on a quest to recover the fabled King's sceptre!
Look in the general vicinity of Gahboom Hill for An Uneven, Hot Corridor!


This is information only given to me which completely eliminates the need for a multi-line trigger since I can just get the information I need from this. Thank you though!