Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
rattyboy
Newbie


Joined: 18 Sep 2013
Posts: 3

PostPosted: Wed Sep 18, 2013 2:59 am   

Need to pause in a #read script.sh command.
 
Huge thank you to everyone involved with the project. Love your work, I have been a user / owner of the products for over a decade. This is a monumentally nice piece of work.

I have a need in my mud (Dragonrealms!) to run a script that will do this:

filename: wait5seconds.sh
Code:
#say I will now wait 5 seconds.
#wait 5000
#say 5 seconds have passed.


So when I run this with the #read wait5seconds.sh command, the screen just outputs this VERY fast, there is no 5 second pause:
Code:
I will now wait 5 seconds.
5 seconds have passed.


Any ideas?
Reply with quote
rattyboy
Newbie


Joined: 18 Sep 2013
Posts: 3

PostPosted: Wed Sep 18, 2013 3:04 am   
 
Ah HA! Why oh why does the muse come only after we call for help?

If they are all on one line, then there is a wait, for instance:

l;#wa 5000;l

looks, then waits 5 seconds, then looks again.

Then I RTf(ine)Med and found the way to use #read filenum recnum arguments.

Yay!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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