fixing alarms in gag creator to work with wrong decimal characters

This commit is contained in:
Augustus
2025-07-02 17:34:55 +03:00
parent ee651de923
commit d4abffa65a
2 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
#alias addnewgag {#play {@sppath/general/misc/confman.wav} @vol; #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| #pick {P:Creating a new gag|
What line are we gagging today? @newgag:setgagline| What line are we gagging today? @newgag:setgagline|
What kind of the gagging method would you like? @gagmethod:setgagmethod| 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}} I didn't mean to use this, please abort:#abort}}
#alias setgagline { #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.}; #prompt newgag {Enter the line here.};
addnewgag} addnewgag}
#alias setgagmethod { #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?| #pick {P:Method?|
Omit the line from my speech queue but leave it in the output window:#var gagmethod voice| 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}; Omit the line both from the output window and from my speech queue:#var gagmethod all};
addnewgag} addnewgag}
#alias setgagfile { #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?| #pick {P:What file are we using today?|
Activity related gags:#var gagfile ActivityGags| Activity related gags:#var gagfile ActivityGags|
Ship Related Gags:#var gagfile ShipGags| Ship Related Gags:#var gagfile ShipGags|

View File

@@ -1,5 +1,6 @@
;core variables ;core variables
#var clientversion 4 #var clientversion 4
#var decchar .
#var loadtask {soundpack|keys|aliases|updator|misc|gagcreator|pathupdator} #var loadtask {soundpack|keys|aliases|updator|misc|gagcreator|pathupdator}
#var settings {rawpass|miscgags|shipgags|vehiclegags|activitygags|intromusic|vol|commandsinoutput|devmode} #var settings {rawpass|miscgags|shipgags|vehiclegags|activitygags|intromusic|vol|commandsinoutput|devmode}
#var speech "disabled" #var speech "disabled"