This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Mount macro
Post Reply
Return to board index
Post by
296587
This post was from a user who has deleted their account.
Post by
Wikipedia
How do you mean random, out of all your mounts or a selected few?
You could use something like
/castrandom mountNames;
/cast mountName
Post by
296587
This post was from a user who has deleted their account.
Post by
Pwntiff
That's the syntax. You can save some characters by using:
/userandom mount1,mount2,etc;
/use mountName
Post by
pelf
<canned grumble about cast versus use>
Post by
296587
This post was from a user who has deleted their account.
Post by
Wanderingfox
1 character. That's it. use is an alias for cast.
Post by
Wikipedia
what would be the difference on cast versus use btw?just a bit curious.
and thanks for the macros guys:)
None
;)
*USES FROSTBOLT!*(to cool pelf down
:>
)
Post by
pelf
It's the semantics of it that bother me. I would drop the letter if I were literally packed and pinching single characters to make my macro fit. Otherwise, you
cast
Frostbolt and you
use
a mana potion.
Post by
Ketho
yes, and I might as well add the concerning Blizz code to illustrate this
..\FrameXML\ChatFrame.lua
Line1033
SecureCmdList = function(msg)
local action, target = SecureCmdOptionParse(msg);
if ( action ) then
local name, bag, slot = SecureCmdItemParse(action);
if ( slot or GetItemInfo(name) ) then
SecureCmdUseItem(name, bag, slot, target);
else
CastSpellByName(action, target);
end
end
end
SecureCmdList = SecureCmdList;
Post by
pelf
Implying that I didn't actually know or believe that they were both handled by the same code? I'm confused as to why you posted that.
Post by
Pwntiff
I think he's saying "Blizrd sez tey r equl. Git of ur hi horse." :P
I don't get to use my lol "speak" often enough...if only that was a time to actually have used it.
Post by
Ketho
I just wanted to help illustrate Wikipedia's post, that /use and /cast have no difference
.. I was just trying to be helpful .. I didn't mean for my post to be personally directed at Pelf, or anything like that ><
Post by
Pwntiff
Showing the code doesn't actually help anyone who wouldn't already know that /use and /cast are aliases of the same command. And I was being sarcastic.
Post by
Wanderingfox
It's the semantics of it that bother me. I would drop the letter if I were literally packed and pinching single characters to make my macro fit. Otherwise, you
cast
Frostbolt and you
use
a mana potion.
Technically speaking, you cast the mana potion too
XD
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.