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


Joined: 28 Jun 2003
Posts: 7
Location: United Kingdom

PostPosted: Mon May 31, 2004 4:08 pm   

Hopeless
 
Can someone please point me in the direction.

Im trying to capture some text and store each
in a variable.

The piece of text reads

Valkyrie is here, armed with a huge club!

I need to grab Valkyrie and put in variable target
and huge club into weapon.

Thanks
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Mon May 31, 2004 4:40 pm   
 
#TRIGGER {^(%w) is here, armed with a (*)!} {#VAR target %1;#VAR weapon {%2}}

This should be entered on the command line then hit enter.
Tested with 7.05
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