;unneeded keys
#var badkeys {numpad2|numpad4|numpad5|numpad6|numpad8|numpad9|numpad/|numpad*|control-a|shift-pageup|shift-pagedown|control-pageup|control-pagedown}
#ForAll @badkeys {#gunkey %i}
;buffer keys
#key {Alt-shift-right} {~buffer~ add}
#key {alt-shift-left} {~buffer~ delete}
#key {alt-left} {~@buffer~ backward}
#key {alt-right} {~@buffer~ forward}
#key {alt-pageup} {~@buffer~ scrollup}
#key {alt-pagedown} {~@buffer~ scrolldown}
#key {alt-up} {~@buffer~ up}
#key {alt-down} {~@buffer~ down}
#key {alt-1} {~@buffer~ 1}
#key {alt-2} {~@buffer~ 2}
#key {alt-3} {~@buffer~ 3}
#key {alt-4} {~@buffer~ 4}
#key {alt-5} {~@buffer~ 5}
#key {alt-6} {~@buffer~ 6}
#key {alt-7} {~@buffer~ 7}
#key {alt-8} {~@buffer~ 8}
#key {alt-9} {~@buffer~ 9}
#key {alt-0} {~@buffer~ 10}
#key {alt-home} {~@buffer~ top}
#key {alt-end} {~@buffer~ bottom}
#key {alt-delete} {~@buffer~ clear}
#Key ALT-SHIFT-DELETE {~@buffer~ clearall}
#key {control-shift-enter} {~@sp-settings buffer sounds}
;soundpack volume and behavior
#key {f4} {~@sp-settings master volume}
#key {f5} {~@sp-settings General volume}
#key {f6} {~@sp-settings ambiance volume}
#key {f7} {~@sp-settings in and out of character communications volume}
#key {f8} {~@sp-settings planetary music volume}
#key {control-f5} {~@sp-settings clocks volume}
#key {control-f6} {~@sp-settings Combat music volume}
#key {control-f7} {~@sp-settings IC social volume}
#key {control-f8} {~@sp-settings OOC social volume}
#key {alt-f5} {~@sp-settings Ground Combat volume}
#key {alt-f6} {~@sp-settings harvesting activity volume}
#key {alt-f7} {~@sp-settings Salvage activity volume}
#key {alt-f8} {~@sp-settings volume for games such as Pilot's Parody}
#key {shift-f5} {~@sp-settings starship combat volume}
#key {shift-f6} {~@sp-settings ship volume}
#key {shift-f7} {~@sp-settings ship movement volume}
#key {shift-f8} {~@sp-settings vehicle volume}
#key {f9} {~@sp-settings IC social sounds}
#key {f10} {~@sp-settings OOC social sounds}
#key {alt-f9} {~@sp-settings panning of sounds}
#key {alt-f10} {~@sp-settings pitch-shifting sounds}
#key {alt-f11} {~@sp-settings ambiance}
#key {control-f9} {~@sp-settings planetary music}
#key {control-f10} {~@sp-settings space combat music}
#key {control-f11} {~@sp-settings weather sounds}
#key {alt-f12} {~@sp-restart}
#key {Shift-alt-f9} {~@sp-settings Interrupt OOC Social sounds when the next one plays}
#key {f2} {~@sp-settings}
#key {control-s} {ActualSave;#say {Client-side Soundpack Settings have been saved successfully!} VoiceOnly}
#key {alt-shift-h} {localsphelp}
#key {Shift-f1} {~@sp-toggle}
#key {control-f2} {mainvoldown}
#key {Control-f3} {mainvolup}
#key {alt-f3} {intromusictoggle}
#key {control-shift-r} {actualsave;#pc 0 stop;#reload; ~@sp-restart;
#load {@sppath/version.set}; {#unload @sppath/version.set}}

#key f11 {#pc 0 stop;  #say {All currently playing sounds have been stopped.}}
#key {control-f1} {smute}
#key {alt-\} {rawinput}
#key {control-`} {#if {@commandsinoutput="enabled"} {#var commandsinoutput "disabled";#Configure DisplayCommandsInOutput False;#say {commands will no longer be displayed in the output window.}} {#var commandsinoutput "enabled";#Configure DisplayCommandsInOutput true;#say {Commands will now be displayed in the output window.}}}
#key {alt-control-v} {checkforupdates}
#key {alt-v} {%clipboard}
#key {shift-f4} {
  #if {@devmode = "disabled"} {
    #var devmode "enabled";
    #load {@scpath/dev.set};
    #say {Developer mode is now active}
  } {
    #var devmode "disabled";
    #unload {@scpath/dev.set};
    #say {Developer mode is no longer active}
  }
}
#key {alt-shift-enter} {~@buffer link}
#key {alt-f1} {decimalpick}
#key {alt-n} {gagconfig}
#key {alt-enter} {#if {@numpadon="disabled"} {#var numpadon "enabled" ; #load {@scpath/numpad.set} ; #play {@sppath/general/misc/on.wav} @vol;#say {Numpad movement enabled.} VoiceOnly} {#var numpadon "disabled" ; #unload {@scpath/numpad.set} ; #play {@sppath/general/misc/off.wav} @vol;#say {Numpad movement disabled} VoiceOnly}}