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
quirk
Novice


Joined: 16 Aug 2003
Posts: 31
Location: USA

PostPosted: Sun Aug 31, 2003 8:20 pm   

Help with this trigger please
 
I am trying to trigger off the exit direction. I am not good at programming so why would this trigger not work and what would?

Obvious exits:
Down - Central Grove of Shannelle [3005]


Trigger
Down - %1 [%2]
Action
dig d %2

I do not care about the name between I just want to pull the number.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Aug 31, 2003 9:00 pm   
 
Your trigger won't work because it contains special characters which you treated like ordinary characters. Read the helpfile on Patterns/Pattern Matching.
Trigger
Down - * ~[(%d)~]
Action
dig d %1
Reply with quote
quirk
Novice


Joined: 16 Aug 2003
Posts: 31
Location: USA

PostPosted: Sun Aug 31, 2003 9:13 pm   
 
Lightbulb you are the man...... and i read up on those and looked at what you gave me and understood it :)
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