[MudWalker] triggers
Aaron Wallace
arkady2300 at yahoo.com
Wed Oct 15 14:37:20 PDT 2008
Thanks for the info!
So the to do what I want the trigger would look like.
Match Patterns
^you just got slightly better in .*\.$
Script
Message(you just got slightly better in arg[1])
I have forgotten the command to retrieve the stored word.
Also I remember the basic matching commands compiled someplace or am
I making stuff up?
thanks again for all your help.
Aaron
On Oct 15, 2008, at 4:14 PM, Kevin Reid wrote:
> On Oct 15, 2008, at 15:20, Aaron Wallace wrote:
>
>> You just got slightly better in hunting.
>>
>> The issue is the last word in the you just got slightly message
>> can be one of any number of skills.
>
> Pattern:
> ^You just got slightly better in \w+\.$
>
> If it could be more than one word (say, spaces),
> ^You just got slightly better in [\w\s]+\.$
>
> If it could have punctuation and so on in it,
> ^You just got slightly better in .*\.$
>
> but one should be careful with .* since it could match more kinds
> of lines than you want. Probably not a problem in this case.
>
> --
> Kevin Reid <http://homepage.mac.com/
> kpreid/>
>
>
> _______________________________________________
> MudWalker mailing list
> MudWalker at cubik.org
> http://lists.puremagic.com/cgi-bin/mailman/listinfo/mudwalker
More information about the MudWalker
mailing list