File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -4552,6 +4552,8 @@ var initMaster = (function() { // eslint-disable-line no-unused-vars
45524552 // RED: v1.207 allow anyone to set debug and who to send debug messages to
45534553 doSetDebug ( argString , senderId ) ;
45544554 break ;
4555+ case 'nowaitmsg' :
4556+ break ;
45554557 default :
45564558 sendFeedback ( '<span style="color: red;">Invalid command " <b>' + msg . content + '</b> "</span>' , flags . feedbackName , flags . feedbackImg ) ;
45574559 showHelp ( ) ;
@@ -4603,7 +4605,7 @@ var initMaster = (function() { // eslint-disable-line no-unused-vars
46034605 let senderMod = args . shift ( ) . split ( ' ' ) ;
46044606 if ( senderMod . length > 1 ) senderId = fixSenderId ( [ senderMod [ 1 ] ] , selected , senderId ) ;
46054607
4606- if ( ! flags . noWaitMsg ) {
4608+ if ( ! flags . noWaitMsg && ! args [ 0 ] . toLowerCase ( ) . startsWith ( 'nowaitmsg' ) ) {
46074609 sendWait ( senderId , 1 , 'initMaster' ) ;
46084610 }
46094611
@@ -4622,6 +4624,7 @@ var initMaster = (function() { // eslint-disable-line no-unused-vars
46224624
46234625 var cmdMasterRegister = function ( ) {
46244626 var cmd = fields . commandMaster
4627+ + ' --noWaitMsg'
46254628 + ' --register Do_Initiative|Specify what character will do in current round and roll initiative|init|~~menu|`{selected|token_id}'
46264629 + ' --register Complex_Monster_Init|Specify initiative for a Monster that can have both inate and weapon attacks|init|~~monmenu|`{selected|token_id}'
46274630 + ' --register Monster_Init|Specify simple monster initiative|init|~~monster|`{selected|token_id}'
Original file line number Diff line number Diff line change @@ -4552,6 +4552,8 @@ var initMaster = (function() { // eslint-disable-line no-unused-vars
45524552 // RED: v1.207 allow anyone to set debug and who to send debug messages to
45534553 doSetDebug ( argString , senderId ) ;
45544554 break ;
4555+ case 'nowaitmsg' :
4556+ break ;
45554557 default :
45564558 sendFeedback ( '<span style="color: red;">Invalid command " <b>' + msg . content + '</b> "</span>' , flags . feedbackName , flags . feedbackImg ) ;
45574559 showHelp ( ) ;
@@ -4603,7 +4605,7 @@ var initMaster = (function() { // eslint-disable-line no-unused-vars
46034605 let senderMod = args . shift ( ) . split ( ' ' ) ;
46044606 if ( senderMod . length > 1 ) senderId = fixSenderId ( [ senderMod [ 1 ] ] , selected , senderId ) ;
46054607
4606- if ( ! flags . noWaitMsg ) {
4608+ if ( ! flags . noWaitMsg && ! args [ 0 ] . toLowerCase ( ) . startsWith ( 'nowaitmsg' ) ) {
46074609 sendWait ( senderId , 1 , 'initMaster' ) ;
46084610 }
46094611
@@ -4622,6 +4624,7 @@ var initMaster = (function() { // eslint-disable-line no-unused-vars
46224624
46234625 var cmdMasterRegister = function ( ) {
46244626 var cmd = fields . commandMaster
4627+ + ' --noWaitMsg'
46254628 + ' --register Do_Initiative|Specify what character will do in current round and roll initiative|init|~~menu|`{selected|token_id}'
46264629 + ' --register Complex_Monster_Init|Specify initiative for a Monster that can have both inate and weapon attacks|init|~~monmenu|`{selected|token_id}'
46274630 + ' --register Monster_Init|Specify simple monster initiative|init|~~monster|`{selected|token_id}'
You can’t perform that action at this time.
0 commit comments