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


Joined: 27 Feb 2002
Posts: 9
Location: USA

PostPosted: Fri Jun 07, 2002 3:48 pm   

Output text to a txt file
 
Simple (I hope) question:

I capture via an alias the amount of experience I gain per minute while out leveling. The output on the screen looks like

You killed 100 mobs worth a total of 100000 exp in 33 minutes. That's 1000 exp per minute.

Is there a way to save this to a txt file everytime this is displayed?

Thanks in Advance
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Jun 07, 2002 4:53 pm   
 
Yes. You can just add the #WRITE command to the alias (or trigger) that produces the display. You might want to include the time also.
#FILE 1 exp.txt
#AL showexp {#SHOW {You killed @kills mobs worth a total of @killexp in @killtime minutes. That's %eval(@killexp/@killtime) exp per minute.};#WRITE 1 {You killed @kills mobs worth a total of @killexp in @killtime minutes. That's %eval(@killexp/@killtime) exp per minute. %time()}}


LightBulb
Vague questions get vague answers
Reply with quote
Clevix
Newbie


Joined: 27 Feb 2002
Posts: 9
Location: USA

PostPosted: Fri Jun 07, 2002 9:03 pm   
 
Thanks a ton LightBulb!
Worked like a charm!
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