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


Joined: 19 Sep 2004
Posts: 45
Location: Houston

PostPosted: Wed Jan 26, 2005 6:48 pm   

Reading from a .txt file
 
I know about the #READ command, but I don't want it to go through and execute every line of a file, I want zMud to read one line from a .txt file, and I want to use it in a trigger or store it to a variable, how can I do this?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Jan 27, 2005 12:44 am   
 
#FILE %read #CLOSE

Check the links above. Sounds like you want the %read function instead of the #READ command. Also you might want to check out %grep.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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