|
Rycal Newbie
Joined: 04 Jul 2008 Posts: 8
|
Posted: Fri Jul 04, 2008 2:48 am
Delineating String List |
I've been trying to solve this for awhile now, and I've trolled through forums and the help file for anything that could help me, but I couldn't find anything. I'm trying to create a basic Comm Capture, my trigger looks like this
Code: |
^(%w) @comm '*'$
#capture Comm
#gag |
The @comm variable is a string list that contains most of the things my mud uses for communication. I did not create this list using the command line. This list contains "chats, tells you, replies" etc. etc. The problem I've found when testing the trigger, is that it will not respond to each of these communiques individually, but instead looks for them as a whole. Instead of capturing:
Abdc chats 'This is a test'
It will ignore this, and instead looks for
Abdc chats|tells you|replies 'This is a test'
I discovered this by manually checking the script/pattern in that option and copying the test pattern directly. Any help would be appreciated.[/code] |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Jul 04, 2008 10:48 am |
^(%w) {@comm} '*'$
#capture Comm
#gag |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Rycal Newbie
Joined: 04 Jul 2008 Posts: 8
|
Posted: Fri Jul 04, 2008 2:47 pm |
Hahaha. Of course it would be something that simple. It worked Thanks very much Vijilante.
|
|
|
|
|
|