myddrun Wanderer
Joined: 31 Mar 2005 Posts: 58
|
Posted: Thu Mar 31, 2005 7:56 pm
Help with multiline name caputure required |
Hello folks,
I'm struggling here, so I thought I'd drop by and ask for help.
I'm trying to make some triggers/alias to grab the names of every one in the same room me as I walk in to it, and assign them to variables or an array which is more likely.
The mud output looks like this.
Room name [dirs].
Name1, Name2, Name3, Name4 and Name5 are here.
(or "Name1 is here." if there is only 1 person in the room)
Now I've got the room name capture ok using this (dont ask, some one gave it to me but it works!)
^(*) ~[({^ }*)~].$
#VAR curroom {%1}
#VAR curexits {%2}
But I'm having a heck of time trying to get it to grab the potentially infinite number of names on the lines that follow.
Can any one off some help?
Edit: like a complete muppet I forgot to say I'm using zmud 7.05
:palmface: |
|