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


Joined: 27 Sep 2002
Posts: 14
Location: Sweden

PostPosted: Sat Dec 21, 2002 4:27 pm   

Last command list.
 
Im looking for a way to make Zmud take the commands i type in, and write them out in the status window, i dont want it to write out what triggers do, but only what i type in, and i would be even more happy if it did not contain walking directions.

Anyone know how to solve this? (i currently got Zmud 5.55, since my system dont work in the newer versions)
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Dec 21, 2002 6:41 pm   
 
The status window is intended to provide an ongoing display of the value of several variables, such as @gold, @exp, @hp, @mana, @tankhp, etc. This is the same as the status line, except that it provides more room and therefore can display more info. The status window isn't really suited to this use though, especially if you want a history rather than just the latest line.

I suppose you could do this with some of the predefined variables, such as %lastcom or %lastinput.

Why do you even want to do this? There's already a command history for everything longer than 3 characters that's typed at the command line (click the arrow button next to the command line).

LightBulb
Senior Member
Reply with quote
Belmyrddyn
Magician


Joined: 17 Oct 2001
Posts: 371
Location: USA

PostPosted: Sat Dec 21, 2002 6:42 pm   
 
Try creating an #ONINPUT trigger, something like:

#ONINPUT {(*)} {#IF (%1 =~ "%t") {#ECHO %1}}

Something like might work for you (I haven't tested the logic, and probably more sophisticated #IFs might be neccessary, because I'm not sure if %t matches full direction commands, or just the one letter commands, like n, s, w, e, j, k, etc.), also I've never used much with multiple windows, so I can't tell you how to echo it into your status window.

Belmyrddyn
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