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


Joined: 20 Dec 2001
Posts: 2
Location: USA

PostPosted: Fri Jan 11, 2002 4:41 am   

Capture text to Variables?
 
I have not used variables with triggers before and I am trying to capture a integer and save it to a variable. An Example

1) 12

I use a trigger for 1) (%d) to #var temp1 %1, but it does not seem to work. Anyone have any suggestions?
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Fri Jan 11, 2002 6:21 am   
 
I use a trigger for 1) (%d) to #var temp1 %1, but it does not seem to work. Anyone have any suggestions?

try:
pattern: 1~) (%d)

the tilde needs to be in front of any 'special' charecters in patterns
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