added support for custom decimal seperators in vip scripting, should solve issues with numbers not being numeric when they actually are

This commit is contained in:
Augustus
2025-07-02 18:53:23 +03:00
parent 918947f4de
commit 058cb2dbb7
5 changed files with 24 additions and 14 deletions

View File

@@ -2,7 +2,7 @@
#ForAll @badaliases {#gunalias %i}
#Alias login {#gagon all; 1; %charInfo(name); #wait (0.1); #ungagon; %charInfo(password)}
#alias ActualSave {
#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;
#Var SettingsFileCounter 0;
#ForAll @settings {
@@ -38,4 +38,4 @@ ActualSave; #say {Settings saved!};
#alias makeworse {#Configure PassThruChar {~>}; #Configure SwitchSession {~:}; #passthru {•}}
#alias makebetter {#Configure PassThruChar {~•}; #Configure SwitchSession {~•}; #passthru {%<;>{}#"'}}
#alias rawinput {#if {@rawpass = "enabled"} {#var rawpass "disabled"; makeworse; #say {Raw input mode is now disabled.};#play {@sppath/general/misc/off.wav} @vol} {#var rawpass "enabled"; makebetter; #say {Raw input mode is now enabled.};#play {@sppath/general/misc/on.wav} @vol}}
#alias rawinput {#if {@rawpass = "enabled"} {#var rawpass "disabled"; makeworse; #say {Raw input mode is now disabled.};#play {@sppath/general/misc/off.wav} @vol} {#var rawpass "enabled"; makebetter; #say {Raw input mode is now enabled.};#play {@sppath/general/misc/on.wav} @vol}}