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
Yarryarr
Newbie


Joined: 11 Nov 2005
Posts: 4

PostPosted: Tue Dec 06, 2005 9:22 am   

Prompt help.
 
ok, I'm switching from one Mud to another. the first Mud's prompt looks like
3500h, 3500m excdb (achaea), and so a trigger for webbed looks like
\d+h, \d+m.*\n(.*) quickly binds up your hands and feet, leaving you helpless\.\n\d+h, \d+m.*
The new Mud prompt looks like
H:2622 M:2622 [db eb] and I've tried a couple different variations...and I'm still getting nothing. Anyone able to lend me a clue?
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Tue Dec 06, 2005 12:53 pm   
 
Try something like:

H:(\d+) M:(\d+) [(.*)]

#VAR HitPoints %1
#VAR MovPoints %2
#VAR PromptFlags %replace(%3," ","")
Reply with quote
Yarryarr
Newbie


Joined: 11 Nov 2005
Posts: 4

PostPosted: Tue Dec 06, 2005 10:23 pm   
 
Thank you, I will
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