|
olmec Beginner
Joined: 03 Mar 2009 Posts: 11
|
Posted: 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...
: 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, |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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 |
|
|
|
olmec Beginner
Joined: 03 Mar 2009 Posts: 11
|
|
|
|
|
|
|
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
|
|