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


Joined: 26 Jan 2003
Posts: 9

PostPosted: Mon Feb 10, 2003 1:35 am   

Capturing a list on a new line
 
This should be fairly simple...

There is a command I type to get a list of my friends online. When I type friends, here's what I get:

>friends
These friends are online:
Jimmy, Jonny, Billy, Bobby

I want to be able to capture each name into a wordlist, but not sure how to capture the data on that new line. Any ideas? Thanks!
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Feb 10, 2003 2:17 am   
 
If it is only one line, then this trigger should do:
#TRIGGER {These friends are online:$(*)} {#VAR friends {%replace("%1", ", ", "|")}}

Kjata
Reply with quote
HappyFunBal
Newbie


Joined: 26 Jan 2003
Posts: 9

PostPosted: Mon Feb 10, 2003 2:32 am   
 
Oooh, with skill and ease ;)

Thanks Kjata!
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