Is there a way to add a command directly to the the history?
I have a script which runs and sends a particular command to the world but I want a different command to appear in the history.
For example:
I can use SendPush() to send a command "do something now" but I want the command history to "dsn" in the command history to run the alias for this command rather than same command exactly.
Send/SendPush does not pass the command to be processed as an alias so I'm looking at the possibility to just to Send() and add my own command directly to the history but I don't see a way to do this.
I have a script which runs and sends a particular command to the world but I want a different command to appear in the history.
For example:
I can use SendPush() to send a command "do something now" but I want the command history to "dsn" in the command history to run the alias for this command rather than same command exactly.
Send/SendPush does not pass the command to be processed as an alias so I'm looking at the possibility to just to Send() and add my own command directly to the history but I don't see a way to do this.