From d4abffa65a16188aff1c6fd9c99d1482a47097af Mon Sep 17 00:00:00 2001 From: Augustus <123775785+OlegTheSnowman@users.noreply.github.com> Date: Wed, 2 Jul 2025 17:34:55 +0300 Subject: [PATCH] fixing alarms in gag creator to work with wrong decimal characters --- scripts/gagcreator.set | 8 ++++---- scripts/main.set | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/gagcreator.set b/scripts/gagcreator.set index 473487c..e014a52 100644 --- a/scripts/gagcreator.set +++ b/scripts/gagcreator.set @@ -1,5 +1,5 @@ #alias addnewgag {#play {@sppath/general/misc/confman.wav} @vol; -#alarm 0.100 {#say {This prompt allows one to add a string that they would like to be gagged either completely or just from the speach queue. In order to do this, please use the options below} VoiceOnly}; +#alarm 0@{decchar}100 {#say {This prompt allows one to add a string that they would like to be gagged either completely or just from the speach queue. In order to do this, please use the options below} VoiceOnly}; #pick {P:Creating a new gag| What line are we gagging today? @newgag:setgagline| What kind of the gagging method would you like? @gagmethod:setgagmethod| @@ -8,18 +8,18 @@ I'm done and want to finish:pushnewgag| I didn't mean to use this, please abort:#abort}} #alias setgagline { -#alarm 0.100 {#say {please enter the line that you would like to be gagged, if parts of it are not static, E.G random numbers or words, replace this bit by an asterisc, *} VoiceOnly}; +#alarm 0@{decchar}100 {#say {please enter the line that you would like to be gagged, if parts of it are not static, E.G random numbers or words, replace this bit by an asterisc, *} VoiceOnly}; #prompt newgag {Enter the line here.}; addnewgag} #alias setgagmethod { -#alarm 0.100 {#say {please choose one of the methods below:} VoiceOnly}; +#alarm 0@{decchar}100 {#say {please choose one of the methods below:} VoiceOnly}; #pick {P:Method?| Omit the line from my speech queue but leave it in the output window:#var gagmethod voice| Omit the line both from the output window and from my speech queue:#var gagmethod all}; addnewgag} #alias setgagfile { -#alarm 0.100 {#say {Due to VIPMud limitations, a file cannot exceed 32000 characters in length, this is why it is recommended to sort your gags into categories, so please choose from one of the files below:} VoiceOnly}; +#alarm 0@{decchar}100 {#say {Due to VIPMud limitations, a file cannot exceed 32000 characters in length, this is why it is recommended to sort your gags into categories, so please choose from one of the files below:} VoiceOnly}; #pick {P:What file are we using today?| Activity related gags:#var gagfile ActivityGags| Ship Related Gags:#var gagfile ShipGags| diff --git a/scripts/main.set b/scripts/main.set index f689859..2abd61c 100644 --- a/scripts/main.set +++ b/scripts/main.set @@ -1,5 +1,6 @@ ;core variables #var clientversion 4 +#var decchar . #var loadtask {soundpack|keys|aliases|updator|misc|gagcreator|pathupdator} #var settings {rawpass|miscgags|shipgags|vehiclegags|activitygags|intromusic|vol|commandsinoutput|devmode} #var speech "disabled"