From 850023edd88d7bdf4684ddf927661a323b4ae241 Mon Sep 17 00:00:00 2001 From: Augustus <123775785+OlegTheSnowman@users.noreply.github.com> Date: Mon, 9 Feb 2026 18:46:43 +0200 Subject: [PATCH] various improovements including spreload as an alias, fixed sphelp, proper reload upon script update and probably something else. --- scripts/aliases.set | 6 ++++++ scripts/keys.set | 6 ++---- scripts/main.set | 4 ++-- scripts/misc.set | 6 +++--- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/scripts/aliases.set b/scripts/aliases.set index 331bda6..0889212 100644 --- a/scripts/aliases.set +++ b/scripts/aliases.set @@ -49,4 +49,10 @@ ActualSave; #say {Settings saved!}; #play {@sppath/general/misc/on.wav} @vol; #say {Updates will now automaticly be applied to your soundpack.}; } +} +#alias {spreload} { +#pc 0 stop; +#reload; +~@sp-restart; +~@sp-version } \ No newline at end of file diff --git a/scripts/keys.set b/scripts/keys.set index 8202965..b94a42a 100644 --- a/scripts/keys.set +++ b/scripts/keys.set @@ -55,9 +55,6 @@ #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} @@ -79,4 +76,5 @@ #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}} #key {alt-shift-v} {%replace(%clipboard,%crlf,%chr(32))} -#key {alt-control-v} {AutomaticUpdate} \ No newline at end of file +#key {alt-control-v} {AutomaticUpdate} +#key {control-shift-r} {spreload} \ No newline at end of file diff --git a/scripts/main.set b/scripts/main.set index 53e106e..96d7e45 100644 --- a/scripts/main.set +++ b/scripts/main.set @@ -1,5 +1,5 @@ ;core variables -#var clientversion 17 +#var clientversion 18 #var loadtask {updator|keys|aliases}; #var settings {rawpass|miscgags|shipgags|vehiclegags|activitygags|intromusic|vol|commandsinoutput|devmode|decchar|numpadon|AutomaticUpdate} #var speech "disabled" @@ -30,7 +30,7 @@ #if {@shipgags = "enabled"} {#load {gags/shipgags.set}}; #if {@miscgags = "enabled"} {#load {gags/miscgags.set}}; }; -;#if {@devmode="enabled"} {#load {@scpath/dev.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 {@commandsinoutput="enabled"} {#Configure DisplayCommandsInOutput true} {#Configure DisplayCommandsInOutput false}; diff --git a/scripts/misc.set b/scripts/misc.set index 76a8756..fecc874 100644 --- a/scripts/misc.set +++ b/scripts/misc.set @@ -5,11 +5,11 @@ } #alias localsphelp {#say { Greetings, Fellow Wanderer! -My name is The Cosmic Rage Immersion Scripts V @clientversion Sounds V @SoundsVersion. +My name is The Cosmic Rage Immersion Scripts V @clientversion. I'm Installed at: @scpath. My sounds are located at: @sppath. -If you want to update me, go to %replace(@scpath,@rightofpath,) and run Updator.bat. -Please keep me updated for the best experience! (Pleading Smiley). +If you want to update me, just reload by pressing control shift r! +Please keep me up-to-date for the best experience! (Pleading Smiley). My decimal seperator is currently: @decchar}} #alias decimalpick {