diff --git a/scripts/keys.set b/scripts/keys.set index b94a42a..2caa43d 100644 --- a/scripts/keys.set +++ b/scripts/keys.set @@ -77,4 +77,61 @@ #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}} #key {alt-shift-v} {%replace(%clipboard,%crlf,%chr(32))} #key {alt-control-v} {AutomaticUpdate} -#key {control-shift-r} {spreload} \ No newline at end of file +#key {control-shift-r} {spreload} + +#key Alt-F {#Automenu main|file} +#key Alt-T {#automenu Main|tools} +#key Alt-E {#automenu Main|Edit} +#key Alt-C {#automenu main|connect} +#key Alt-W {#automenu Main|Window} +#key Alt-H {#automenu Main|Help} + +; The Search keystrokes control-F, control-shift-f, F3, and shift-F3 +#key control-f { +#prompt temp {Reverse Search for? } ; + #find {@temp} FIRST|Reverse ; +#say {%foundline} NoDisplay } +#key f3 { +#find {@temp} reverse|next ; +#say {%foundline} NoDisplay } + +#key shift-control-f { +#prompt temp {Forward Search for? } ; + #find {@temp} first|forward ; +#say {%foundline} NoDisplay } +#key Shift-f3 { + #find {@temp} forward|next ; +#say {%foundline} NoDisplay } + +#key Control-1 {#say %lastline(1) NoDisplay} +#key Control-2 {#say %lastline(2) NoDisplay} +#key Control-3 {#say %lastline(3) NoDisplay} +#key Control-4 {#say %lastline(4) NoDisplay} +#key Control-5 {#say %lastline(5) NoDisplay} +#key Control-6 {#say %lastline(6) noDisplay} +#key Control-7 {#say %lastline(7) NoDisplay } +#key Control-8 {#say %lastline(8) NoDisplay } +#key Control-9 {#say %lastline(9) NoDisplay } +#key Shift-Control-5 {#5 {#say {%lastline(6-%repeatnum)} NoDisplay}} +#key Shift-Control-4 {#4 {#say {%lastline(5-%repeatnum)} NoDisplay}} +#key Shift-Control-3 {#3 {#say {%lastline(4-%repeatnum)} NoDisplay}} +#key Shift-Control-2 {#2 {#say {%lastline(3-%repeatnum)} NoDisplay}} +#key control-space {#Syskey GET_WORD_FROM_OUTPUT} +#key Alt-space {#Syskey INSERT_TAB_WORD} +#key Escape {#Syskey clear_line} +#key control-T {#Syskey ASSIGN_TRIGGER} +#key control-k {#Syskey ASSIGN_key} +#key alt-A {#Syskey ASSIGN_ALIAS} +#key shift-enter {#Syskey EXECUTE_LINE} +#key control-alt-space {#Syskey ADD_TAB_WORD} + +#key control-e {#window ErrorLog} +#key Control-Enter {#window entry} +#key control-q #quit +#key Control-Shift-T {#autoMenu Main|edit|triggers} // display the trigger setup dialog +#key Control-Shift-A {#autoMenu main|edit|alias} // display the alias setup dialog +#key Control-Shift-K {#autoMenu main|edit|keys} // display the keys setup dialog +#key Control-Shift-V {#autoMenu main|edit|variables} // display the variable setup dialog +#key Control-O {#autoMenu main|connect|character} // display the character connect/setup dialog +#key Control-Shift-l {#autoMenu main|file|load} // load a script file +#key Control-Shift-u {#autoMenu main|file|unload} // unload a script file \ No newline at end of file diff --git a/scripts/main.set b/scripts/main.set index 88820e1..99428da 100644 --- a/scripts/main.set +++ b/scripts/main.set @@ -1,10 +1,14 @@ ;core variables -#var clientversion 21 +#var clientversion 22 #var settings {rawpass|miscgags|shipgags|vehiclegags|activitygags|intromusic|vol|commandsinoutput|devmode|decchar|numpadon|AutomaticUpdate} #var speech "disabled" +#unload {start.set}; #load {@scpath/aliases.set}; #load {@scpath/keys.set}; #load {@scpath/updator.set}; +#load {@scpath/misc.set}; +#load {@scpath/gagcreator.set}; +#load {@scpath/pathupdator.set}; #if {%volume<100} {#pc 0 volume 100} ;Reading and writing Settings. #File 6 {settings.set} 1 @@ -15,9 +19,6 @@ #close 6 -#alarm 3 {#load @scpath/gagcreator.set}; -#alarm 4 {#load @scpath/pathupdator.set}; -#alarm 5 {#load {@scpath/misc.set}}; #trigger {Welcome to: cosmic rage!} {#pc 0 stop; #if {@intromusic = "enabled"} { #if {@IntroPlaying = 1} {#pc @introhandle stop;#var IntroPlaying 0}; @@ -25,15 +26,14 @@ #TRIGGER {synaptic signal verified. Sleep mode disengaged. Welcome back to Cosmic Rage!} {#if {@IntroPlaying = 1} {#pc @introhandle stop; #var IntroPlaying 0}; ~@sp-register vip;~@sp-version} #trigger {Your synaptic signal wavers for a moment, then returns with a snap!} {#if {@IntroPlaying = 1} {#pc @introhandle stop; #var IntroPlaying 0}; ~@sp-register vip;~@sp-version} #if {@rawpass = "enabled"} {makebetter}; -#alarm 10 { #if {@activitygags = "enabled"} {#load {gags/activitygags.set}}; #if {@vehiclegags = "enabled"} {#load {gags/vehiclegags.set}}; #if {@shipgags = "enabled"} {#load {gags/shipgags.set}}; #if {@miscgags = "enabled"} {#load {gags/miscgags.set}}; -}; + #if {@devmode="enabled"} {#load {@scpath/dev.set}}; #if {%defined(decchar)=0 or %length(@decchar)<1} {#var decchar .}; -#If {@numpadon="enabled"} {#load @scpath/numpad.set}; +#If {@numpadon="enabled"} {#load {numpad.set}}; #if {@commandsinoutput="enabled"} {#Configure DisplayCommandsInOutput true} {#Configure DisplayCommandsInOutput false}; #trigger {$sphook &{action}:&{soundpath}:&{volume}:&{pitch}:&{pan}:&{id}} { @@ -53,4 +53,3 @@ #var faildsound {$sphook @action:@soundpath:@volume:@pitch:@pan:@id}; #if {@AutomaticUpdate="enabled"} {FetchSound @soundpath}}} #trig {$buffer *} {#gagline all; #say %1 voiceonly} -#gunalias music ; #gunalias StopMusic ; #gunalias sc ; #gunalias capture ; \ No newline at end of file