 |
adamwalker Apprentice
Joined: 12 Mar 2005 Posts: 195
|
Posted: Tue May 24, 2005 6:12 pm
Multi Line triggers |
http://forums.zuggsoft.com/phpbb/viewtopic.php?t=21145&start
Followed on from the above but separate question (ish) so I thought Id ask in a separate post.
How can I grab info from a multi line trigger that doesnt have a fixed position where it spills onto the next line...
Two examples relating to my previous post are....
An image of Battlemage Fistandantilus at Clinging to the side of the chasm
appears before you.
and
An image of Alchemist Anaroth at Centre of the Cassiandora square marketplace appears before you.
It always follows the format of...
An image of (*) at (*) appears before you.
| Code: |
#TRIGGER {An image of (*) at (*) appears before you} {
locating = %1
room2find = %2
found_rooms = %MAPQUERY( Name LIKE '%@room2find%')
#walk %item( @found_rooms, 1)
} |
Works great where the triggers are on a single line
But It doesnt grab any info when its multiline.
Thanks for taking your time to help me out |
|
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue May 24, 2005 9:43 pm |
Is it the mud that's doing the wrapping? If so, can you increase your wrap columns to a value larger than the width of your screen? If you can, set it as high as you can go and ZMud will then do the word-wrapping. Even though ZMud wraps the line, it's still considered a single line coming from the mud and will still match your perfectly-working single-line trigger.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
 |
adamwalker Apprentice
Joined: 12 Mar 2005 Posts: 195
|
Posted: Tue May 24, 2005 10:26 pm |
yayy. all done. thankyou!
|
|
|
|
 |
|
|
|