Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Cuttlefish
Apprentice


Joined: 28 Oct 2003
Posts: 164

PostPosted: 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.
Reply with quote
Carabas
GURU


Joined: 28 Sep 2000
Posts: 434
Location: USA

PostPosted: 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.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Oct 31, 2003 5:37 pm   
 
That sounds very similar to the Test tab provided by the Settings Editor.
Reply with quote
Cuttlefish
Apprentice


Joined: 28 Oct 2003
Posts: 164

PostPosted: 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?).
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net