@@ -66,15 +66,16 @@ API_Meta.InitMaster={offset:Number.MAX_SAFE_INTEGER,lineCount:-1};
6666 * weapon attacks for creatures that can do both. Fixed errors in parsing initiative
6767 * modifiers with the --set-mods command.
6868 * v5.0.1 21/09/2025 Fixed initiative menu for using a magic item or equipment.
69- * v5.0.2 23/09/2025 Added error message if weapon selected for initiative is not found in-hand.
69+ * v5.0.2 23/09/2025 Added error message if weapon selected for initiative is not found in-hand. Added
70+ * --noWaitMsg command to suppress spurious Please Wait messages.
7071 */
7172
7273var initMaster = ( function ( ) { // eslint-disable-line no-unused-vars
7374 'use strict' ;
7475 var version = '5.0.2' ,
7576 author = 'Richerd @ Damery' ,
7677 pending = null ;
77- const lastUpdate = 1758697790 ;
78+ const lastUpdate = 1758783460 ;
7879
7980 /*
8081 * Define redirections for functions moved to the RPGMaster library
@@ -1023,7 +1024,7 @@ var initMaster = (function() { // eslint-disable-line no-unused-vars
10231024
10241025 var issueHandshakeQuery = function ( api , cmd ) {
10251026 sendDebug ( 'InitMaster issuing handshake to ' + api + ( ( cmd && cmd . length ) ? ( ' for command ' + cmd ) : '' ) ) ;
1026- var handshake = '!' + api + ' --hsq init' + ( ( cmd && cmd . length ) ? ( '|' + cmd ) : '' ) ;
1027+ var handshake = '!' + api + ' --noWaitMsg -- hsq init' + ( ( cmd && cmd . length ) ? ( '|' + cmd ) : '' ) ;
10271028 sendAPI ( handshake ) ;
10281029 return ;
10291030 } ;
@@ -4370,7 +4371,7 @@ var initMaster = (function() { // eslint-disable-line no-unused-vars
43704371 func = args [ 1 ] || '' ,
43714372 funcTrue = [ 'init' , 'type' , 'menu' , 'monmenu' , 'weapon' , 'monster' , 'complex' , 'muspell' , 'prspell' , 'power' , 'mibag' , 'thief' , 'other' , 'maint' , 'check-tracker' , 'list-pcs' ,
43724373 'end-of-day' , 'help' , 'debug' ] . includes ( func . toLowerCase ( ) ) ,
4373- cmd = '!' + from + ' --hsr init' + ( ( func && func . length ) ? ( '|' + func + '|' + funcTrue ) : '' ) ;
4374+ cmd = '!' + from + ' --noWaitMsg -- hsr init' + ( ( func && func . length ) ? ( '|' + func + '|' + funcTrue ) : '' ) ;
43744375
43754376 sendDebug ( 'InitMaster recieved handshake query from ' + from + ( ( func && func . length ) ? ( ' checking command ' + func + ' so responding ' + funcTrue ) : ( ' and responding' ) ) ) ;
43764377 sendRmAPI ( cmd ) ;
0 commit comments