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
Atreides_096
Wanderer


Joined: 21 Jan 2005
Posts: 99
Location: Solvang, CA

PostPosted: Fri Aug 19, 2005 10:14 am   

Repetitive command line entry
 
Ok, I'm looking for a command that I think will exist, and is probably one that'd be very useful to a lot of people.. let me see if I can explain this properly:

First, note that the preference "clear command line input" should be enabled. So any time you hit enter, the command line will be cleared.

I'd like a command or function that will allow me to insert text into the command line. That way, when entering the same command over and over again, you can just keep hitting enter (I know this is what macros are for, but there's only so many keys you can assign to macros, and there's a lot more things I do repetitively than there are keys... I currently class off my macros, to allow for more, but even that proves to be a bit complex and limiting).

If the command exists, I don't know it's name. But to give an example of what I want, we'll just say the command is " %insertcl "

Code:
#alias {cs} {cast scorch; %insertcl(cs)}


That would allow for what amounts to an infinite loop of casting one spell (continually hitting enter would cast the spell, and re-insert the alias to cast back into your command line).
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Fri Aug 19, 2005 11:57 am   
 
Well, there's the #input command that will put whats in there.
Surround the text with " 's if it's more than one word.
Tho, I fail to see the point of clearing the command line input if it will just do what you are looking to do in the 1st place...
cs and just hit enter as many times as you want....
or
#alias {cs} {cast scorch; #input cs}
type cs and hit enter as many times as you want...
Same thing to me...
_________________
http://www.Aardwolf.com
Reply with quote
Atreides_096
Wanderer


Joined: 21 Jan 2005
Posts: 99
Location: Solvang, CA

PostPosted: Fri Aug 19, 2005 12:00 pm   
 
Allows more control over what gets repeated, and what does not. For example, let say I type in the command

run 3s

Now, from where I WAS, 3s leads me to a good leveling room. From the leveling room, 3s might lead me to mobs that instantly kill me. You know me.. at SOME point, I will accidentally hit enter twice ;) That's one example.. but it comes down to typo limitations, and just general control

Anyway, thanks man.. was the exact command I wanted
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