This has been replaced by an alias, which you can see here:
Have recently updated this plugin as a project to learn to compile and such, and now its working as intended.
A select amount of windows are able to be said yes or no to by command line options of /yes and /no
LargeDialogWindow
ConfirmationDialogBox
TradeWND
GiveWnd
ProgressionSelectionWnd
TaskSelectWnd
RaidWindow
would love for people to test it out and maybe come with more ideas that could be done.
next step is to add commands to send to all and group using eqbcs.
Command:/yes - RedGuides Wiki
www.redguides.com
Have recently updated this plugin as a project to learn to compile and such, and now its working as intended.
A select amount of windows are able to be said yes or no to by command line options of /yes and /no
LargeDialogWindow
ConfirmationDialogBox
TradeWND
GiveWnd
ProgressionSelectionWnd
TaskSelectWnd
RaidWindow
would love for people to test it out and maybe come with more ideas that could be done.
next step is to add commands to send to all and group using eqbcs.
Basically I got tired of telling my characters to hit confirmation boxes so here's what the plugin does.
Command = /yes
If you want anything else added, just let me know
(and no, I don't care about the indiscriminate use of /notify :p )
Command = /yes
INI:
/squelch /notify LargeDialogWindow LDW_YesButton leftmouseup
/squelch /notify ConfirmationDialogBox Yes_Button leftmouseup
/squelch /notify ConfirmationDialogBox OK_Button leftmouseup
/squelch /notify TradeWND TRDW_Trade_Button leftmouseup
/squelch /notify GiveWnd GVW_Give_Button leftmouseup
/squelch /notify TaskTemplateSelectWnd TaskTemplateSelectAcceptButton leftmouseup
/squelch /notify ProgressionTemplateSelectWnd ProgressionTemplateSelectAcceptButton leftmouseup
If you want anything else added, just let me know
(and no, I don't care about the indiscriminate use of /notify :p )
C++:
// MQ2Yes.cpp : Defines the entry point for the DLL application.
//
// PLUGIN_API is only to be used for callbacks. All existing callbacks at this time
// are shown below. Remove the ones your plugin does not use. Always use Initialize
// and Shutdown for setup and cleanup, do NOT do it in DllMain.
#include "../MQ2Plugin.h"
PreSetup("MQ2Yes");
VOID Yes(PSPAWNINFO pChar, PCHAR szLine) {
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify LargeDialogWindow LDW_YesButton leftmouseup");
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify ConfirmationDialogBox Yes_Button leftmouseup");
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify ConfirmationDialogBox OK_Button leftmouseup");
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify TradeWND TRDW_Trade_Button leftmouseup");
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify GiveWnd GVW_Give_Button leftmouseup");
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify TaskTemplateSelectWnd TaskTemplateSelectAcceptButton leftmouseup");
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify ProgressionTemplateSelectWnd ProgressionTemplateSelectAcceptButton leftmouseup");
}
// Called once, when the plugin is to initialize
PLUGIN_API VOID InitializePlugin() {
AddCommand("/yes",Yes);
}
// Called once, when the plugin is to shutdown
PLUGIN_API VOID ShutdownPlugin() {
RemoveCommand("/yes");
}