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


Joined: 08 Sep 2002
Posts: 4
Location: Sweden

PostPosted: Sun Sep 08, 2002 5:20 pm   

read results
 
How does one make zmud store the result from a command
>Health all (this is the commands

You are physically feeling very well and mentally in full vigour. (this is the result)

the question is how i make a #win that updates once every five sec and gives me the result from the command

Regards Ulokye

"Bob we worship thee"
Exodus cuote
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sun Sep 08, 2002 6:20 pm   
 
You can use the status window for this:
#ALARM {*5} {health all}
#TRIGGER {({You are physically feeling very well and mentally in full vigour.|Some other message|Yet another message})} {#STW {%1}}

There are a couple of things to note with this. First, as you may see, the trigger need to have all of the possible response messages from the "health all" command. Second, zMUD will send "health all" every five seconds and you will see the results of this command every five seconds. The best you can do is #GAG it so you won't see it, but you still get the lag from issuing the command every five seconds. There is no way around that last issue.

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