|
largoretro Newbie
Joined: 20 Jan 2005 Posts: 4
|
Posted: 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. |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: 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 |
|
|
|
largoretro Newbie
Joined: 20 Jan 2005 Posts: 4
|
Posted: Fri Jan 28, 2005 1:07 am |
Thanks that worked. After some time i may post it to the finished scripts page.
|
|
|
|
|
|