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
olmec
Beginner


Joined: 03 Mar 2009
Posts: 11

PostPosted: Mon Mar 09, 2009 8:19 am   

One command at a time
 
One command at a time

Hi,
I'm using an alias to look in several directions:

Alias (look everywhere) : le

look north
look east
look south
look west


When i type "le" in command line, all commands are sent at the same time, so the display is the following :

Code:

3407H 534M 1540V (100) 16,305,060TNL>look north
look east
look south
look west

3407H 534M 1543V (100) 16,305,060TNL>
Nothing special there...

3407H 534M 1543V (100) 16,305,060TNL>
Nothing special there...

3407H 534M 1543V (100) 16,305,060TNL>
A walk around the fountain in the middle of the square.

3407H 534M 1543V (100) 16,305,060TNL>
A walk around the fountain in the middle of the square.


But i would like the following display

Code:

3407H 534M 1543V (100) 16,305,060TNL>look north
Nothing special there...

3407H 534M 1543V (100) 16,305,060TNL>look east
Nothing special there...

3407H 534M 1543V (100) 16,305,060TNL>look south
A walk around the fountain in the middle of the square.

3407H 534M 1543V (100) 16,305,060TNL>look west
A walk around the fountain in the middle of the square.


It would be easier to read...
Idea : is there a way to wait for the next prompt to send a command?
send look north - wait for prompt - send look east - wait for prompt... ?

Thanks,
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Mon Mar 09, 2009 11:17 am   
 
Do a search on queues, queueing commands, timing commands, or delaying commands and you should find quite a few scripts for this.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
olmec
Beginner


Joined: 03 Mar 2009
Posts: 11

PostPosted: Mon Mar 09, 2009 12:36 pm   
 
Perfect! Exactly what i was looking for Very Happy

http://forums.zuggsoft.com/forums/viewtopic.php?t=26864&start=0&postdays=0&postorder=asc&highlight=
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