Skip to content

Commit e956eaa

Browse files
committed
Added --noWaitMsg to --hsq queries
1 parent d2ff3e2 commit e956eaa

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

MagicMaster/5.0.1/MagicMaster.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ var MagicMaster = (function() { // eslint-disable-line no-unused-vars
121121
var version = '5.0.1',
122122
author = 'RED',
123123
pending = null;
124-
const lastUpdate = 1758722202;
124+
const lastUpdate = 1758783460;
125125

126126
/*
127127
* Define redirections for functions moved to the RPGMaster library
@@ -1486,7 +1486,7 @@ var MagicMaster = (function() { // eslint-disable-line no-unused-vars
14861486
**/
14871487

14881488
var issueHandshakeQuery = function( api, cmd ) {
1489-
var handshake = '!'+api+' --hsq magic'+((cmd && cmd.length) ? ('|'+cmd) : '');
1489+
var handshake = '!'+api+' --noWaitMsg --hsq magic'+((cmd && cmd.length) ? ('|'+cmd) : '');
14901490
sendAPI(handshake);
14911491
return;
14921492
};
@@ -10393,7 +10393,7 @@ var MagicMaster = (function() { // eslint-disable-line no-unused-vars
1039310393
func = args[1] || '',
1039410394
funcTrue = ['spellmenu','mem-spell','view-spell','cast-spell','cast-again','mimenu','edit-mi','view-mi','use-mi','mi-charges','mi-power','touch','rest','gm-edit-mi','search','pickorput','lightsources',
1039510395
'light','changelight','help','check-db','debug'].includes(func.toLowerCase()),
10396-
cmd = '!'+from+' --hsr magic'+((func && func.length) ? ('|'+func+'|'+funcTrue) : '');
10396+
cmd = '!'+from+' --noWaitMsg --hsr magic'+((func && func.length) ? ('|'+func+'|'+funcTrue) : '');
1039710397

1039810398
sendAPI(cmd);
1039910399
return;

MagicMaster/MagicMaster.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ var MagicMaster = (function() { // eslint-disable-line no-unused-vars
121121
var version = '5.0.1',
122122
author = 'RED',
123123
pending = null;
124-
const lastUpdate = 1758722202;
124+
const lastUpdate = 1758783460;
125125

126126
/*
127127
* Define redirections for functions moved to the RPGMaster library
@@ -1486,7 +1486,7 @@ var MagicMaster = (function() { // eslint-disable-line no-unused-vars
14861486
**/
14871487

14881488
var issueHandshakeQuery = function( api, cmd ) {
1489-
var handshake = '!'+api+' --hsq magic'+((cmd && cmd.length) ? ('|'+cmd) : '');
1489+
var handshake = '!'+api+' --noWaitMsg --hsq magic'+((cmd && cmd.length) ? ('|'+cmd) : '');
14901490
sendAPI(handshake);
14911491
return;
14921492
};
@@ -10393,7 +10393,7 @@ var MagicMaster = (function() { // eslint-disable-line no-unused-vars
1039310393
func = args[1] || '',
1039410394
funcTrue = ['spellmenu','mem-spell','view-spell','cast-spell','cast-again','mimenu','edit-mi','view-mi','use-mi','mi-charges','mi-power','touch','rest','gm-edit-mi','search','pickorput','lightsources',
1039510395
'light','changelight','help','check-db','debug'].includes(func.toLowerCase()),
10396-
cmd = '!'+from+' --hsr magic'+((func && func.length) ? ('|'+func+'|'+funcTrue) : '');
10396+
cmd = '!'+from+' --noWaitMsg --hsr magic'+((func && func.length) ? ('|'+func+'|'+funcTrue) : '');
1039710397

1039810398
sendAPI(cmd);
1039910399
return;

MagicMaster/magicMaster.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ var MagicMaster = (function() { // eslint-disable-line no-unused-vars
121121
var version = '5.0.1',
122122
author = 'RED',
123123
pending = null;
124-
const lastUpdate = 1758722202;
124+
const lastUpdate = 1758783460;
125125

126126
/*
127127
* Define redirections for functions moved to the RPGMaster library
@@ -1486,7 +1486,7 @@ var MagicMaster = (function() { // eslint-disable-line no-unused-vars
14861486
**/
14871487

14881488
var issueHandshakeQuery = function( api, cmd ) {
1489-
var handshake = '!'+api+' --hsq magic'+((cmd && cmd.length) ? ('|'+cmd) : '');
1489+
var handshake = '!'+api+' --noWaitMsg --hsq magic'+((cmd && cmd.length) ? ('|'+cmd) : '');
14901490
sendAPI(handshake);
14911491
return;
14921492
};
@@ -10393,7 +10393,7 @@ var MagicMaster = (function() { // eslint-disable-line no-unused-vars
1039310393
func = args[1] || '',
1039410394
funcTrue = ['spellmenu','mem-spell','view-spell','cast-spell','cast-again','mimenu','edit-mi','view-mi','use-mi','mi-charges','mi-power','touch','rest','gm-edit-mi','search','pickorput','lightsources',
1039510395
'light','changelight','help','check-db','debug'].includes(func.toLowerCase()),
10396-
cmd = '!'+from+' --hsr magic'+((func && func.length) ? ('|'+func+'|'+funcTrue) : '');
10396+
cmd = '!'+from+' --noWaitMsg --hsr magic'+((func && func.length) ? ('|'+func+'|'+funcTrue) : '');
1039710397

1039810398
sendAPI(cmd);
1039910399
return;

0 commit comments

Comments
 (0)