Bam! Double-barreled idea making!
Force Input script command.
A command that forces an input to be activated. Perhaps you use it to keep a certain slot on the hotbar selected.
It could look something like this...
ForceInput [Player|Global] [Input|NoInput] [ShortTap|LongTap|Duration]
Player: activates the input only for the player the script was ran for.
Global: all players receive the same input. This could be applied in interesting ways. Perhaps syncing player movement together for anything from RPG effects to simultaneous cinematic shots.
Input: forces an input to be activated for the decided duration. If no duration is specified, defaults to short tap.
NoInput: temporarily prevents a player from activating a key. If used, [duration] is required, and must be specified.
ShortTap: activates the desired input for the duration of a short tap.
LongTap: activates the desired input for the duration of s long tap.
Duration: enter a number. Input is activated for that length of time in milliseconds.
This could be a powerful tool for anything from cinematic purposes, narrative in-game cutscenes, to forcing a player to move as if under a spell, or whatever.
If you like this idea, take a look at this related one that would make a great combo together: http://totalminerforums.net/index.php?topic=19402.0