diff --git a/scripts/misc.set b/scripts/misc.set index 228acff..e367ad9 100644 --- a/scripts/misc.set +++ b/scripts/misc.set @@ -17,5 +17,5 @@ a comma:#var newdecchar ,| a period:#var newdecchar .| a custom choice:#prompt newdecchar {Please enter your custom choice} }; -#alarm 1 {#if {%length(@newdecchar)>1 OR %IsNumber(@newdecchar)=1} {#say {You really do not need a decimal seperator that is more than one character long or you have probably entered a number. Please try again.};#unvar newdecchar} {#var decchar @newdecchar; #say {Your decimal seperator has been set to @decchar}}} +#alarm 1 {#if {%length(@newdecchar)>1 OR %length(@newdecchar)<1 OR %IsNumber(@newdecchar)=1} {#say {You really do not need a decimal seperator that is more or less than one character long or you have probably entered a number. Please try again.};#unvar newdecchar} {#var decchar @newdecchar; #say {Your decimal seperator has been set to @decchar};#unvar newdecchar}} } \ No newline at end of file