5 replies [Last post]
Zwipple
Zwipple's picture
User offline. Last seen 2 years 18 weeks ago. Offline
Joined: 08/05/2009
Posts: 33

Greetings,

The following scripts are intended as examples of commands you can add to GCP to make your WoW experience a bit more convenient. The GCP staff designed their utility to be extensible. With just a bit of effort, there's really very little you can't do to customize GCP's behavior to meet your needs.

Note1: Please see this post: http://www.gamecommanderpro.com/node/166 for a general overview of how to add commands to GCP.

Potions, Drinks, Food and Bandages:

I wanted a way to make all my toon's use a potion, drink, food, etc., all at the same time, with the press of a key. That said, knowing that what I have available in my inventory changes all the time, I didn't want to “hardcode” the names of all the possible variations of these types of items. So, I generated a few generic scripts in GCP and integrated the use of the Bartender4 addon. This way, when I needed to change from one type of potion to another, I just simply drop the item onto my designated Bartender4 button. GCP takes care of the rest. Here's how:

Create the following scripts in GCP:

Bandage: (I assigned mine to the Ctrl + “=” key, you can use whatever key you prefer)

<<All>>
macro /click BT4Button116

Eat: (I assigned mine to the Shift + “=” key)

<<All>>
macro /jamba-follow strobeoff
Hit d
macro /click BT4Button117

Note2: I use the Jamba addon to handle my toons' follow functionality. When Jamba's follow function is turned on and I hit my “Eat” button, the toons start to try to sit down and eat something, but then immediately stand back up, thus wasting the food. The “/jamba-follow strobeoff” command combined with “Hit d” command (my “d” key is bound to my move backward key) turns Jamba's follow functionality off. If you aren't using Jamba's strobed follow functionality these two lines can be deleted. Also note, I've modified my movement keys, if you're using the standard movement keys, you'd use “Hit s” instead.

Drink: (I assigned mine to the Shift + “-” key)

<<All>>
macro /jamba-follow strobeoff
Hit d
macro /click BT4Button118

Note3: See Note2 above

Health: (I assigned mine to the “=” key)

<<All>>
macro /click BT4Button119

Mana: (I assigned mine to the “-” key)

<<All>>
macro /click BT4Button120

The “<<All>>” is used to tell GCP, when I hit this button, hit the same button in all the WoW windows concurrently.

The “macro” tells GCP to send whatever follows on that line to WoW's command/macro parcer. The “/click” tells WoW to tap the button you've bound to that key.

Ok, so what the heck does /click BT4Button### mean? Those are Bartender4's designations for its keybinds when using the /kb function (see BT4 instructions for how to use that function). For example, “BT4Button120” represents the twelfth button on bar 10 in BT4. If you're using WoW's standard button bars, or Dominos, etc. you'll need to find out what they name their button binds (they will be different).

That's it. Nothing fancy really, just a few commands to make things go a bit more smoothly.

Enjoy!

Zwipple

Jeremy
Jeremy's picture
User offline. Last seen 1 year 25 weeks ago. Offline
Joined: 06/14/2009
Posts: 268
Another good way to setup

Another good way to setup generic commands for using items is:

<<All>>
Macro /use 4 1 

This will use whatever is in the first slot of your 4th bag.

First Number:
0 = Backpack
1-4 = other bags
Second Number:
The number of the bag slot counting from the upper left slot.

__________________

GameCommanderPro Graphics Designer / Software Engineer

Trixie
Trixie's picture
User offline. Last seen 2 years 21 weeks ago. Offline
Joined: 09/01/2009
Posts: 2
Jamba already has a feature

Jamba already has a feature where you can turn off auto follow when drinking. If I remember correctly its under Jamba-Me tab. Just check it and push to char.