<RetVar> = Returns the internal ID of the assigned hotkey.
<Var/String> = Select a unique name for your hotkey and enter it here as a variable containing a string or directly as a string. This is also the name that will show in the controls menu under 'Interface'.
<Script Name> = The name of the script that will be call when the player uses the hotkey.
<RetVar> Returns the internal ID of the assigned hotkey.
It is what you need to uninstall the hotkey later and has no other use.
Save this value in a global variable/array so you can use it in your uninstall script.
This command is normally used in a setup script.
$my.script.hotkey = register hotkey 'My Script Hotkey' to call script plugin.my.script
- »» General Commands
<RetVar> = register hotkey <Var/String> to call script <Script Name>