I have to admit, I haven't tried out this script command yet, but after reading the help page for it, I can already see how this command would be a problem for me.
The help page indicates that this command will not work if text is present on the command line. I don't see any other commands that would allow me to script a work-around.
I would like to suggest:
The command be modified: If text is on the command line, it is 'pushed' to the stack, and can be recalled via the up arrow key.
OR
New script commands be implemented that allow extended modification of the command line. For exampe: ClearCommand, PushCommand, PopCommand, Highlight Command.
Because I haven't actually tried the SetCommand command yet, I don't know how it is presented, but I sure hope that text sent is already highlighted, so that it can be deleted immediately via delete key or by starting to type something new.
There are two reasons I see for adding extra functionality in this department:
1. There are occasions where you are 'likely' to use a command immediately on entering a room, but not always. SetCommand "say open sesame" (since you usually go through the door, but not always, and saying the phrase actually MOVES you)
2. A mild work-around for MUDs that are 'sensitive' to auto-actions based on triggers. Many of the spell-casting bots that people would like to program here are considered illegal on the MUD I play. Technically, poping the spells to the command line still puts the player in control.
The current limitation either disrupts the usefulness of this command, or the usefullness of maintaining text in the command box.
All that aside, this program rocks! :)
Magnum.
The help page indicates that this command will not work if text is present on the command line. I don't see any other commands that would allow me to script a work-around.
I would like to suggest:
The command be modified: If text is on the command line, it is 'pushed' to the stack, and can be recalled via the up arrow key.
OR
New script commands be implemented that allow extended modification of the command line. For exampe: ClearCommand, PushCommand, PopCommand, Highlight Command.
Because I haven't actually tried the SetCommand command yet, I don't know how it is presented, but I sure hope that text sent is already highlighted, so that it can be deleted immediately via delete key or by starting to type something new.
There are two reasons I see for adding extra functionality in this department:
1. There are occasions where you are 'likely' to use a command immediately on entering a room, but not always. SetCommand "say open sesame" (since you usually go through the door, but not always, and saying the phrase actually MOVES you)
2. A mild work-around for MUDs that are 'sensitive' to auto-actions based on triggers. Many of the spell-casting bots that people would like to program here are considered illegal on the MUD I play. Technically, poping the spells to the command line still puts the player in control.
The current limitation either disrupts the usefulness of this command, or the usefullness of maintaining text in the command box.
All that aside, this program rocks! :)
Magnum.