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


Joined: 29 Aug 2003
Posts: 25
Location: USA

PostPosted: Fri Oct 10, 2003 9:51 pm   

Program responding to the escape key - possible?
 
The escape key kills "#wait" and slow walks. It may stop other things.

Quite rightly it doesn't kill everything. But it would be nice to have some of my scripts piggy back on this function to stop processing rather than assigning a new key.

So is there a way for a script to detect the escape key?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Oct 13, 2003 1:53 pm   
 
You might be able to assign a macro to the escape key and give it a detectable action. Of course, that would stop it clearing #WAIT and slow walks.
Reply with quote
Andromeda
Beginner


Joined: 29 Aug 2003
Posts: 25
Location: USA

PostPosted: Wed Oct 15, 2003 12:39 am   
 
I had no luck creating a macro for the escape key. The object editor (or whatever it is called) doesn't recognise the escape character.

The command:
#key ESCAPE {#say "escape key"}

does not give an error but doesn't create the macro either.

The command:
#key ESC {#say "escape key"}

does create the macro ESC but doesn't seem to affect the function of the escape key. I.e. the message from the #say does not occur.
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