tradertesla
Member
- Joined
- Dec 21, 2005
- RedCents
- 80¢
Based on scanning through macros I found on this site, I tried the following command...
/if (!${Me.Buff["Elixir of Clarity VIII"].ID} /potionbelt Activate 2
Where your Caster will suck down a Clarity potion every time the exisiting one drops. Got an error.
Oh, darn, didn't close the parenthesis. ~grin~ Sometimes it's useful just to ask the question, and you answer it yourself. Therefore...
/if (!${Me.Buff["Elixir of Clarity VIII"].ID}) /potionbelt Activate 2
Since I am already writing this post, I invite comments since I have yet to find any mention of maintaining potion-based buffs on this site. I'm at work, so don't yet know if this code will work. Would you perform an actrive check, or would you set up an event based on the "You're clarity of mind fades..." message, necessitating the initial check, but only once. And let's see if i can think of my other questions...
2) Guidelines in usage of /delay. I see that authors routinely sprinkle /delay 1s (or more) throughout their code. That makes sense right after setting off a non-instant action such as /target or "/sit on". But I also see it sometimes just before or after an If statement, etc. When should I use the /delay?
3) Is there any way to bail out of trouble without a death? I tried MQ2Quit last night at the first sign of taking aggro on my Wiz. The client logs show an instant drop, but I was still dead upon restart.
4) Has anyone ever kited underwater? Probably a stupid question, but PM me if you have any idea's there. I never actually tried it.
er, I can't think of anything else right now.
Thanks
P.S. Oh, I know...
5) What does #turbo do?
/if (!${Me.Buff["Elixir of Clarity VIII"].ID} /potionbelt Activate 2
Where your Caster will suck down a Clarity potion every time the exisiting one drops. Got an error.
Oh, darn, didn't close the parenthesis. ~grin~ Sometimes it's useful just to ask the question, and you answer it yourself. Therefore...
/if (!${Me.Buff["Elixir of Clarity VIII"].ID}) /potionbelt Activate 2
Since I am already writing this post, I invite comments since I have yet to find any mention of maintaining potion-based buffs on this site. I'm at work, so don't yet know if this code will work. Would you perform an actrive check, or would you set up an event based on the "You're clarity of mind fades..." message, necessitating the initial check, but only once. And let's see if i can think of my other questions...
2) Guidelines in usage of /delay. I see that authors routinely sprinkle /delay 1s (or more) throughout their code. That makes sense right after setting off a non-instant action such as /target or "/sit on". But I also see it sometimes just before or after an If statement, etc. When should I use the /delay?
3) Is there any way to bail out of trouble without a death? I tried MQ2Quit last night at the first sign of taking aggro on my Wiz. The client logs show an instant drop, but I was still dead upon restart.
4) Has anyone ever kited underwater? Probably a stupid question, but PM me if you have any idea's there. I never actually tried it.
er, I can't think of anything else right now.
Thanks
P.S. Oh, I know...
5) What does #turbo do?
Last edited: