Reply
 
Thread Tools Display Modes
Unread 12-23-09, 10:36 AM   #1
Fragglerock
An Aku'mai Servant
Join Date: Jul 2005
Posts: 32
macro to left AND right click

I'm trying to find out how to write a really simplistic macro that will do one thing on left click and another on right click.

To be more specific, I'd like to have an action bar button that casts lightning bolt on left click and chain lightning on right click.
Fragglerock is offline   Reply With Quote
Unread 12-23-09, 10:48 AM   #2
Psychophan7
A Chromatic Dragonspawn
Join Date: Feb 2006
Posts: 153
/cast [btn:1] Lightning Bolt; [btn:2] Chain Lightning
Psychophan7 is offline   Reply With Quote
Unread 12-23-09, 10:52 AM   #3
Fragglerock
An Aku'mai Servant
Join Date: Jul 2005
Posts: 32
thanks a bunch
Fragglerock is offline   Reply With Quote
Unread 07-08-10, 09:31 AM   #4
pelf
Sentient Plasmoid
 
pelf's Avatar
Premium Member
Join Date: May 2008
Posts: 128
Or, if we're simplifying...

Code:
/cast [btn:2] _____; _____
...since if it's not button 2, then it's either 1 or something else you're not interested in checking for.
pelf is offline   Reply With Quote
Unread 07-08-10, 12:02 PM   #5
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 714
Originally Posted by nazrhyn View Post
Or, if we're simplifying...

Code:
/cast [btn:2] _____; _____
...since if it's not button 2, then it's either 1 or something else you're not interested in checking for.
And when we are in dire need of space:

Code:
/use [btn:2]_____;_____
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
nightcracker is offline   Reply With Quote
Unread 07-08-10, 06:59 PM   #6
pelf
Sentient Plasmoid
 
pelf's Avatar
Premium Member
Join Date: May 2008
Posts: 128
Originally Posted by nightcracker View Post
And when we are in dire need of space:

Code:
/use [btn:2]_____;_____
I should have known better than to leave that space in there .
pelf is offline   Reply With Quote
Reply

Go BackWoWInterface » AddOns, Compilations, Macros » Macro Help » macro to left AND right click

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off