Diese Seite macht ausgiebigen Gebrauch von JavaScript.
Bitte aktiviert JavaScript in Eurem Browser.
Classic Aussehen
Thottbot Aussehen
Funny Class-Specific Macros
Antwort verfassen
Zur Forenübersicht zurückkehren
Beitrag von
Toldry
/cast Pick Pocket
/run SendChatMessage(("picks %s's pocket for %d silver, %d copper."):format(UnitName"target",math.random(99),math.random(99)),"EMOTE")
Why do so many people do things the long and stupid way?
you forgot that it also cant be 0, you only made it not do 99.... i think
and you also forgot the
#showtooltip pick pocket
/cast pick pocket
part
Beitrag von
91244
This post was from a user who has deleted their account.
Beitrag von
56282
This post was from a user who has deleted their account.
Beitrag von
112926
This post was from a user who has deleted their account.
Beitrag von
109430
This post was from a user who has deleted their account.
Beitrag von
121522
This post was from a user who has deleted their account.
Beitrag von
modrogon
/cast Pick Pocket
/run SendChatMessage(("picks %s's pocket for %d silver, %d copper."):format(UnitName"target",math.random(99),math.random(99)),"EMOTE")
Why do so many people do things the long and stupid way?
you forgot that it also cant be 0, you only made it not do 99.... i think
and you also forgot the
#showtooltip pick pocket
/cast pick pocket
part
It acts differently:
math.random() returns a real number from 0-1
math.random(n) returns an integer number from 1-n
math.random(x,y) returns an integer number from x-y
Also yes nefarion has a good point, using scripts which introduce global variables with common names like xx and yy is asking for serious trouble.
For the pick pocket macro, can you have it do something else if you have no one targeted? Cause it's giving me an error otherwise...
Beitrag von
2198
This post was from a user who has deleted their account.
Beitrag von
56282
This post was from a user who has deleted their account.
Beitrag von
Lunien
Hmm...I'm tempted to try this on my warrior:
/y Hey %t *Insert "Yo mama" joke here*
/cast Taunt
Beitrag von
113401
This post was from a user who has deleted their account.
Beitrag von
modrogon
For the pick pocket macro, can you have it do something else if you have no one targeted? Cause it's giving me an error otherwise...
Ok here:
/cast Pick Pocket
/run if UnitName("Target") then SendChatMessage(("picks %s's pocket for %d silver, %d copper."):format(UnitName"target",math.random(99),math.random(99)),"EMOTE")end
Thanks Shoggy with your code I went with this:
/run if UnitName("Target") then SendChatMessage(("picks %s's pocket for %d silver, %d copper."):format(UnitName"target",math.random(99),math.random(99)),"EMOTE") else SendChatMessage("jingles the stolen money","EMOTE") end
This will allow me to "pick the target pocket" or jingles the stolen money when I have no one targeted.
Beitrag von
104767
This post was from a user who has deleted their account.
Beitrag von
56282
This post was from a user who has deleted their account.
Beitrag von
steelelfknight
For mages with polymorph: Pig
/cast polymorph: Pig
/s I smell bacon I smell pork run piggy run cause I got a fork.
and for the rouges
/cast sprint
/y BEEP BEEP
Beitrag von
107345
This post was from a user who has deleted their account.
Beitrag von
107717
This post was from a user who has deleted their account.
Beitrag von
Chatillon
Would it be annoying if I put something like- "BOOM-Headshot!" on my Paladin whenever he used Crusader Strike?
If not, anyone have a macro for it? :3
Beitrag von
70747
This post was from a user who has deleted their account.
Beitrag von
125099
This post was from a user who has deleted their account.
Antwort verfassen
Ihr seid nicht angemeldet. Bitte
meldet Euch an
, um eine Antwort einzusenden, oder
registriert Euch
falls Ihr noch nicht über ein Konto verfügt.