WoW:Making a macro: Difference between revisions

m
no edit summary
m (This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.)
mNo edit summary
Line 2: Line 2:
{{Macronav}}
{{Macronav}}


:''Much of this article was written by [[User:Cogwheel|Cogwheel]] (WoWInterface user [http://www.wowinterface.com/forums/member.php?s=fb1425bc23be92c345b36cb94dd82662&action=getinfo&userid=17646 Cogwheel]).''
This is an article on '''making a macro'''. A [[macro]] is a list of slash commands. Common slash commands include the following:
This is an article on '''making a macro'''. A [[macro]] is a list of slash commands. Common slash commands include the following:


Line 24: Line 23:
If you don't mind the game freezing, you can use this little workaround to make macros pause:
If you don't mind the game freezing, you can use this little workaround to make macros pause:


  /script debugprofilestart();while debugprofilestop()<wait_time do end;
  /script debugprofilestart(); while debugprofilestop() &lt; wait_time do end


Where wait_time is the time, in milliseconds, you want to wait. You can use this with multiple /cast commands, no problem, as long as you wait for the correct cooldown periods.
Where wait_time is the time, in milliseconds, you want to wait. You can use this with multiple /cast commands, no problem, as long as you wait for the correct cooldown periods.