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


Joined: 08 Sep 2002
Posts: 4
Location: Sweden

PostPosted: Tue Nov 12, 2002 1:01 am   

How?
 
id like to know how to cut numbers from lines
You get 2 gold coins from the corpse of....
in this line id like to get the 2 into a variable. one more problem is that when you get items it looks like this
You get a gold sword from the corpse of .....
anyone who can help me on this one?

"Bob we worship thee"
Exodus cuote
Reply with quote
undergod
Wanderer


Joined: 27 Jun 2001
Posts: 82

PostPosted: Tue Nov 12, 2002 1:53 am   
 
Try something like this:

#trigger {You get (%n) gold coins from the corpse of *} {#var gold %1}
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