Function to send a command in command history

Posted by Yasik on Tue 14 Jan 2014 11:06 AM — 2 posts, 13,751 views.

Ukraine #0
Hello !

Is there any function or workaround to send a command to command history bypassing anything else (command prompt, parsers etc etc) ? So I can then press "Up Arrow" key and invoke that command if I need it, and proceed with other commands if I dont need it?

Thanks in advance!
Australia Forum Administrator #1
Template:function=PushCommand
PushCommand

The documentation for the PushCommand script function is available online. It is also in the MUSHclient help file.



That might work. You would have to set the command window to something and the "push" it into the history.