Remove Advertisements

Beacon/SS button macro

All things /script related

Moderators: Fridmarr, Worldie, Aergis, _Chloe

Beacon/SS button macro

Postby Ata » Fri Jan 29, 2010 1:06 pm

Trying to write a macro that utilizes mouse 1 and mouse 2; to activate my Beacon and Sacred Shield respectively.


/cast [button:1] Beacon of Light; [button:2] Sacred Shield

actively works, however now I'm trying to fit in my old macros, which utilized coding like this:

/cast [@focus,help] [] Sacred Shield


Would my final code look something like:

/cast [button:1,@focus,help] [] Beacon of Light; [button:2,@focus,help] []Sacred Shield

or something similar, as I can't quite get it to work. It casts the Beacon of Light, but refuses to cast SS when I right click. The first macro I posted worked fine when I right-clicked, it's only when I tried to add in the parts so the macro would first attempt to cast on my (friendly) focus target.
Image
Ata
 
Posts: 45
Joined: Mon Oct 20, 2008 11:49 am

Re: Beacon/SS button macro

Postby vertinog » Fri Jan 29, 2010 1:23 pm

I can't test this nor am I an expert at macros but you could try:

Code: Select all
/cast [button:1] [@focus,help] [] Beacon of Light; [button:2] [@focus,help] []Sacred Shield


Probably not right but figured it is worth a shot.
User avatar
vertinog
 
Posts: 141
Joined: Mon Mar 02, 2009 7:15 am

Re: Beacon/SS button macro

Postby Zalaria » Fri Jan 29, 2010 1:48 pm

Does it cast Beacon when you right click? You probably need to put button:1 in those empty brackets.

Code: Select all
(completely untested)

/cast [button:1,@focus,help] [button:1] Beacon of Light; [button:2,@focus,help] [button:2]Sacred Shield
Dovie'andi se tovya sagain - It's time to roll the dice
User avatar
Zalaria
Maintankadonor
 
Posts: 646
Joined: Tue Sep 11, 2007 7:27 am


Return to Add-ons, UI, and Macros

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest


Remove Advertisements

Who is online

In total there are 2 users online :: 1 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 380 on Tue Oct 14, 2008 6:28 pm

Users browsing this forum: Majestic-12 [Bot] and 1 guest