@@ -145,7 +145,7 @@ API_Meta.CommandMaster={offset:Number.MAX_SAFE_INTEGER,lineCount:-1};
145145 * Extended Drag & Drop "random" item to add item class specification as in
146146 * "random(item-class):qty". Added --restock command to support trader inventory
147147 * restocking. Fixed evalAttr issue with unbracketed calculations.
148- * v5.0.1 23/09/2025 Fixed non-responsive [Add all Owned Weapons] button on Add Profiienies dialog.
148+ * v5.0.1 23/09/2025 Fixed non-responsive [Add all Owned Weapons] button on Add Proficiencies dialog.
149149 */
150150
151151var CommandMaster = ( function ( ) { // eslint-disable-line no-unused-vars
@@ -6031,7 +6031,7 @@ var CommandMaster = (function() { // eslint-disable-line no-unused-vars
60316031 var from = args [ 0 ] || '' ,
60326032 func = args [ 1 ] || '' ,
60336033 funcTrue = [ 'initialise' , 'abilities' , 'add-spells' , 'add-profs' , 'set-prof' , 'set-all-prof' , 'register' , 'edit' , 'debug' , 'help' ] . includes ( func . toLowerCase ( ) ) ,
6034- cmd = '!' + from + ' --hsr cmd' + ( ( func && func . length ) ? ( '|' + func + '|' + funcTrue ) : '' ) ;
6034+ cmd = '!' + from + ' --noWaitMsg -- hsr cmd' + ( ( func && func . length ) ? ( '|' + func + '|' + funcTrue ) : '' ) ;
60356035
60366036 sendAPI ( cmd ) ;
60376037 return ;
@@ -6206,6 +6206,8 @@ var CommandMaster = (function() { // eslint-disable-line no-unused-vars
62066206 case 'debug' :
62076207 doSetDebug ( arg , senderId ) ;
62086208 break ;
6209+ case 'nowaitmsg' :
6210+ break ;
62096211 default :
62106212 showHelp ( ) ;
62116213 sendFeedback ( '<span style="color: red;">Invalid command " <b>' + msg . content + '</b> "</span>' , flags . feedbackName , flags . feedbackImg ) ;
@@ -6260,7 +6262,7 @@ var CommandMaster = (function() { // eslint-disable-line no-unused-vars
62606262 sendDebug ( 'senderId is defined as ' + getObj ( 'player' , senderId ) . get ( '_displayname' ) ) ;
62616263 } ;
62626264
6263- if ( ! flags . noWaitMsg ) sendWait ( senderId , 1 , 'commandMaster' ) ;
6265+ if ( ! flags . noWaitMsg && ! args [ 0 ] . toLowerCase ( ) . startsWith ( 'nowaitmsg' ) ) sendWait ( senderId , 1 , 'commandMaster' ) ;
62646266
62656267 _ . each ( args , function ( e ) {
62666268 setTimeout ( doCommandCmd , ( 1 * t ++ ) , e , selected , senderId , isGM ) ;
0 commit comments