Author |
Message |
Topic: Automapper Prompt Detection Problem |
Daneel
Replies: 2
Views: 4184
|
Forum: zMUD General Discussion Posted: Thu Aug 26, 2004 11:16 am Subject: Automapper Prompt Detection Problem |
I just thought of two possible solutions for my problem. But they are both not very elegant and I have the strong feeling that I'm missing an obvious, simple solution to the problem stated above.
... |
Topic: Regex for different amount of parameters |
Daneel
Replies: 7
Views: 13633
|
Forum: zMUD General Discussion Posted: Thu Aug 26, 2004 7:51 am Subject: Regex for different amount of parameters |
That explains it. You should be able to do it with a perl regular expression though, check out: http://www.troubleshooters.com/codecorn/littperl/perlreg.htm
Something like:
^/.target $1'
This i ... |
Topic: Regex for different amount of parameters |
Daneel
Replies: 7
Views: 13633
|
Forum: zMUD General Discussion Posted: Thu Aug 26, 2004 7:43 am Subject: Regex for different amount of parameters |
Hmm, why don't you simply check for just the common part of these messages, i.e. "Friend says 'target ogre" ? |
Topic: Automapper Prompt Detection Problem |
Daneel
Replies: 2
Views: 4184
|
Forum: zMUD General Discussion Posted: Thu Aug 26, 2004 6:34 am Subject: Automapper Prompt Detection Problem |
Hello!
I have a little problem, which is probably mud specific. I have set up the automapper to work correctly, at least most of the time.
Problem Statement:
My prompt looks like this:
54 ... |
|