 |
Cuttlefish Apprentice
Joined: 28 Oct 2003 Posts: 164
|
Posted: Fri Oct 31, 2003 4:45 pm
Suggestion: pattern tester |
It would be extremely helpful if you had some sort of pattern tester window in zMUD. Basically, a window that has an edit box for the pattern, a memo box for the text to test against it and a memo box showing the results. For instance:
pattern: (%w) is standing here.
text: Zugg is standing here.
results:
Pattern matched.
1: Zugg
pattern: You have &%d{Gold}gp
text: You have 100gp.
results:
Pattern matched.
@Gold: 100
I've been starting to build a lot of triggers and it's very frustrating to get any feedback on where you've gone wrong. |
|
|
 |
Carabas GURU

Joined: 28 Sep 2000 Posts: 434 Location: USA
|
Posted: Fri Oct 31, 2003 5:36 pm |
This already exists. There is a "Test" tab for triggers. It does not allow for editing the pattern from the same form (good idea though), but does allow you to enter text to match against and will give you the captured variables.
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Oct 31, 2003 5:37 pm |
That sounds very similar to the Test tab provided by the Settings Editor.
|
|
|
 |
Cuttlefish Apprentice
Joined: 28 Oct 2003 Posts: 164
|
Posted: Fri Oct 31, 2003 9:36 pm |
Cool! Thanks I will check that out. I'm still really getting my feet wet and somehow managed to miss that. Might also help the n00bs if there were more references to it in the help, like on the help topic for Pattern Matching (or did I miss THAT, too?).
|
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Fri Oct 31, 2003 10:47 pm |
Most interface items are discussed in the Getting Started section of the help. Each tab should have its own topic. If there is an omission then it certainely needs to be corrected.
|
|
|
 |
|
|