From badfb1b88bf969d8cafe7da185ef047c290de331 Mon Sep 17 00:00:00 2001 From: Augustus <123775785+OlegTheSnowman@users.noreply.github.com> Date: Wed, 11 Feb 2026 03:24:35 +0200 Subject: [PATCH] got rid of all the for loops which should fix the loading problem entirely --- scripts/aliases.set | 3 --- scripts/main.set | 10 ++++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/scripts/aliases.set b/scripts/aliases.set index 0889212..7b3e485 100644 --- a/scripts/aliases.set +++ b/scripts/aliases.set @@ -1,6 +1,3 @@ -#var badaliases {music|StopMusic|sc|capture} -#ForAll @badaliases {#gunalias %i} - #Alias login {#alarm 1 {#gagon all; 1; %charInfo(name); #wait (0.1); #ungagon; %charInfo(password)}} #alias ActualSave {#if {%length(@decchar)>1 OR %length(@decchar)<1} {#say {Attention. Your decimal seperator was set incorrectly therefore it has been switched to default.};#var decchar .}; #File 6 {settings.set} 1; diff --git a/scripts/main.set b/scripts/main.set index 34be444..4af81e0 100644 --- a/scripts/main.set +++ b/scripts/main.set @@ -1,8 +1,10 @@ ;core variables -#var clientversion 20 -#var loadtask {updator|keys|aliases}; +#var clientversion 21 #var settings {rawpass|miscgags|shipgags|vehiclegags|activitygags|intromusic|vol|commandsinoutput|devmode|decchar|numpadon|AutomaticUpdate} #var speech "disabled" +#load {@sppath/aliases.set}; +#load {@scpath/keys.set}; +#load {@scpath/updator.set}; #if {%volume<100} {#pc 0 volume 100} ;Reading and writing Settings. #File 6 {settings.set} 1 @@ -12,7 +14,6 @@ #math num {@num + 1}}; #close 6 -#ForAll @loadtask {#load @scpath/%i.set}; #alarm 3 {#load @scpath/gagcreator.set}; #alarm 4 {#load @scpath/pathupdator.set}; @@ -51,4 +52,5 @@ #if {%playhandle=0} {#SetSpeech system stop;#say {Failed to play @soundpath.}; #var faildsound {$sphook @action:@soundpath:@volume:@pitch:@pan:@id}; #if {@AutomaticUpdate="enabled"} {FetchSound @soundpath}}} -#trig {$buffer *} {#gagline all; #say %1 voiceonly} \ No newline at end of file +#trig {$buffer *} {#gagline all; #say %1 voiceonly} +#gunalias music ; #gunalias StopMusic ; #gunalias sc ; #gunalias capture ; \ No newline at end of file