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


Joined: 20 Jan 2005
Posts: 4

PostPosted: Thu Jan 27, 2005 10:24 am   

Unusual problem
 
I have a nice script that works out a lot of combat statistics on my mud.

It works great up to one problem. The general way for it to report is as follows:

@mss Tot.Rnds/Atts/Hit/Mis/Dam: @roundz/@totatt/@hitz/@misz/@damlo-@damhi

Where @mss is say or tell whoever. The issue is that we want to be able to put in #ECHO into @mss and echo the data only occassionally while playing without sending to the server. When we enter #ECHO in @mss we end up sending

#ECHO Tot.Rnds/Atts/Hit/Mis/Dam: 12/48/47/1/345-380

to the mud itself, resulting in a typo.

Thank you for your reply, hopefully there is a simple answer.
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Thu Jan 27, 2005 1:02 pm   
 
Try using #EXECute (If I remember correctly thats how I did it in mine)

#EXEC @mss Tot.Rnds/Atts/Hit/Mis/Dam: @roundz/@totatt/@hitz/@misz/@damlo-@damhi
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
largoretro
Newbie


Joined: 20 Jan 2005
Posts: 4

PostPosted: Fri Jan 28, 2005 1:07 am   
 
Thanks that worked. After some time i may post it to the finished scripts page.
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