![]() ![]() script debugprofilestart() while debugprofilestop()AddOns can provide a way to issue a command at a later time, but they can only be used for "benign" functions like chatting, emotes, and issuing commands to other AddOns (though equipping weapons in combat is allowed). This fact will become much more apparent when we start dealing with the /cast command and its ilk. Second, and arguably more important, there is no way to wait in a macro without freezing the game. ![]() ![]() First, if you write a macro that takes a long time to execute (like /run for i=1, 100000000 do end), the game will freeze for as long as it takes to run the macro. This means that when you click the button, the macro runs each command from start to finish before returning control to the game. Note: Remember, some macros run all at once. WoWWiki is a great source of additional information for macros, especially scripts using the /run command (which will be covered later). For instance, a macro that makes the player yell "Everybody, dance now!" and burst into dance would be written thus.Ī mostly complete list of slash commands is available at List of Slash Commands though at the time of this writing some of the new commands in 2.0 have not been added. Each unique command goes on its own line and is written exactly as it would be typed it in the chat box. With macros, these commands can be used from action buttons, and many of them can be used at once. Common slash commands include the following: Much of this article was written by Cogwheel (WoWInterface user Cogwheel). Reason: Assumes many class abilities which have changed or been removed.This may include rewriting sections to ensure they are clear and concise, and wikifying.Please replace the old information with up to date information. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |