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
Baldur
Beginner


Joined: 20 Sep 2002
Posts: 26
Location: Austria

PostPosted: Tue Dec 10, 2002 9:47 am   

Trigger - Count
 
Hi,

i try to trigger on this line:

| Stufe 63 [##########....] 64 |

the number of hashes and dots will change. I will now count how many dots are there.
Can someone tell me who do to that?

Thanks a lot,

Baldur
Reply with quote
Charbal
GURU


Joined: 15 Jun 2001
Posts: 654
Location: USA

PostPosted: Tue Dec 10, 2002 10:05 am   
 
This should do it:

#TRIGGER {~| Stufe 63 ~([.)~] 64 ~|} {#SAY There are %len("%1") dots.}


 - Charbal
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