Page 2 of 2

Fix for Ctrl-Click

Posted: Fri Jun 11, 2004 9:50 pm
by GD
* * EDIT: Fixed a typo that stopped this from working * *

This will make it work for you by getting your setting for using Ctrl-Clicking from your UI Config file, then pressing Ctrl if needed.

* NOTE * You must edit the EQUIFile setting to your Everquest folder for it to work * NOTE *

In Sub DeclareOuters add:

Code: Select all

| Define EQ UI config file
   /declare EQUIFile string outer "[color=red]YourEQFolder[/color]\UI_${Me}_${MacroQuest.Server}.ini"
Then change Sub OpenPack from:

Code: Select all

   /if (!${Window[Pack${PackNum}].Open}) {
      /if (!${Window[Inventory].Open}) /keypress INVENTORY
      /itemnotify pack${PackNum} rightmouseup
      /delay 5
   }
To:

Code: Select all

   /if (!${Window[Pack${PackNum}].Open}) {
      /if (!${Window[Inventory].Open}) /keypress INVENTORY
[color=red]      /if (${Ini[${EQUIFile},TradeskillWnd,CtrlBypass].Equal[1]}) {
         /itemnotify pack${PackNum} rightmouseup
      } else {
         /Ctrl /itemnotify pack${PackNum} rightmouseup
      }[/color]
      /delay 5
   }

Posted: Fri Jul 16, 2004 10:25 pm
by BrainDeath
Edited just to fix the > being changed to html safe tag

Posted: Sun Jul 18, 2004 2:05 pm
by Epoch18
I made this simple string to make Short Ale, but MQ keeps saying
[MQ2] Recipe [short] not defined in newts.ini INI file
[MQ2] An error has occured. ending macro
I'm sure I have it right, but maybe I'm missing something. Here's what I have inserted into the newts.ini file:

Code: Select all

[short] 
;Short Ale 
Recipe1=barley
ContType1=enviro 
ContName1=Brew Barrel 
Recipe2=hops 
ContType2=enviro 
ContName2=Brew Barrel 
Recipe3=cask 
ContType3=enviro 
ContName3=Brew Barrel 
Recipe4=water flask 
ContType4=enviro 
ContName4=Brew Barrel 
Any help or suggestions please?

Posted: Sun Jul 18, 2004 2:19 pm
by s16z
Any recipe that has multiple words in the name must be enclosed in quotes, i.e. /macro newts "short beer"

If you don't, it will only use the first word (in your case 'short') to look for the recipe.

Posted: Sun Jul 18, 2004 2:23 pm
by Epoch18
EDIT: Wait... I think I might have found what I'm doing wrong... I actually misunderstood the whole concept of how the macro works.

EDIT 2: Yeah, I figured it out, Thanks anyway

Posted: Mon Oct 18, 2004 5:38 pm
by BrainDeath
10-18-04:

Updated the macro with a few minor changes and implemented some suggested changes.

Also added the macro as an include file. Can be very helpful when used in conjunction with fine macros like advpath. :wink: