activate a clicky in a inventory slot

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

eddashmatt

activate a clicky in a inventory slot

Post by eddashmatt » Sat May 26, 2007 12:04 am

looking for a sinple macro that will click my Cloak of the Dark Sky every 18 seconds, the cloak is in the bottom right inventory slot

I have looked through the macro depot and tryed to edit (mana robe) macro to fit my need but I am a noob

wakkedup
a ghoul
a ghoul
Posts: 114
Joined: Tue Apr 11, 2006 5:25 am

Post by wakkedup » Sat May 26, 2007 12:58 am

Code: Select all

Sub Main
	:InfiniteLoop
	/if ( (!${Me.Buff[name].ID} || ${Me.Buff[name].Duration}<1) && ${Spell[name].Stacks}) /itemnotify pack8 rightmouseup
	/goto :InfiniteLoop
/return
I don't know what the buffname is, but this is something like what I'd use. Didn't test it, and not sure if it is exactly correct. Basically, you want to check if you do not have the buff, or the duration is less than 1 tick, and if it stacks. If you ONLY want something that does it every 18 seconds, you could do something more like this, though.

Code: Select all

Sub Main
	:InfiniteLoop
	/itemnotify pack8 rightmouseup
	/delay 18s
	/goto :InfiniteLoop
/return
Cheers
Nothing to see here. Move along.

User avatar
MQWatcher
a ghoul
a ghoul
Posts: 113
Joined: Sun Jan 21, 2007 8:22 am

Post by MQWatcher » Sat May 26, 2007 6:05 am

Did they put .stacks back in? I thought there were issuse with it and they removed it.

User avatar
LrdDread
a snow griffon
a snow griffon
Posts: 343
Joined: Sun Sep 12, 2004 7:55 am
Contact:

Post by LrdDread » Sat May 26, 2007 8:07 am

MQWatcher wrote:Did they put .stacks back in? I thought there were issuse with it and they removed it.
Never removed, was changed, were problems, reverted back... fixed problems and changes went back in... something like that

eddashmatt

Post by eddashmatt » Sat May 26, 2007 9:05 am

thank you very much ... the second code works, i just need to watch to make sure I am not casting any spells when the haste ends or i need to waite 18 seconds for it to auto start or just reclick it my self. but thats all i really needed it for, its a bard type haste clicky (short duration buff)which stacks with most haste spells except shammy haste buff,
its just a pain to keep clicking the cloak on raids or when soloing

the spell name is Haste ... item id is 27731

Code: Select all

Sub Main 
   :InfiniteLoop 
   /if ( (!${Me.Buff[Haste].ID} || ${Me.Buff[Haste].Duration}<1) && ${Spell[Haste].Stacks}) /itemnotify pack8 rightmouseup 
   /goto :InfiniteLoop 
/return 
the above code ends up spaming the the cloak and I can cast no other spells

Yunto?
a grimling bloodguard
a grimling bloodguard
Posts: 502
Joined: Sat Nov 19, 2005 12:05 pm

Post by Yunto? » Sat May 26, 2007 9:19 am

eddashmatt wrote:its a bard type haste clicky (short duration buff)which stacks with most haste spells except shammy haste buff,
Clicking it on raids is retarded - the icon stacks, but the highest haste buff wins. So youre doing yourself no good keeping it up on a raid.
(10:02:10 AM) fearless: kate beckinsale
(10:02:18 AM) fearless: chick from underpants
(10:02:27 AM) fearless: er . . . world, underworld

eddashmatt

Post by eddashmatt » Sat May 26, 2007 9:40 am

some reason I thought it was an overhaste type item that acted like a bard haste which stacks with chanter haste, but now that you said that and I just looked it up on alla it says it does not stack .. either way its still good for soloing.

I hardly ever click it durign raids i usually have too much stuff going on

Yunto?
a grimling bloodguard
a grimling bloodguard
Posts: 502
Joined: Sat Nov 19, 2005 12:05 pm

Post by Yunto? » Sat May 26, 2007 11:06 am

Jesus christ...

There is a difference between bard haste and bard overhaste. Not all bard haste songs are overhaste.
(10:02:10 AM) fearless: kate beckinsale
(10:02:18 AM) fearless: chick from underpants
(10:02:27 AM) fearless: er . . . world, underworld

Olain
a snow griffon
a snow griffon
Posts: 477
Joined: Sun May 15, 2005 12:45 am

Post by Olain » Sat May 26, 2007 11:22 am

Yunto? wrote:Jesus christ...

There is a difference between bard haste and bard overhaste. Not all bard haste songs are overhaste.
You can say that 20 times a day and people will still not understand! Even some bards.

khozik
orc pawn
orc pawn
Posts: 28
Joined: Fri Oct 10, 2003 1:42 pm

Post by khozik » Sat Jun 23, 2007 4:37 pm

I didn't want to start a new thread, so here is my code:

Code: Select all

	/if ((${Me.Buff[Aura of Pure Arcanum].Duration.TotalSeconds}<=180) && (!${Me.Buff[Resurrection Effects].ID})) {
		/delay 1s
		/call cast "The Skull of Den Lord Rakban" item 1
	}
My problem is when rez effects say 0:00 seconds left, the skull gets clicked and I end up with the buff at the bottom of my buff list instead of the 1st slot. Any tips?