Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoWBench/FAQ
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Using === <div style="margin-left: 3%;"> {{faqq}}So, how do I add something that's missing? * See [[WoWBench/Extending]]. {{faqq}}How do I tweak an already-existing API to work better for my tests? * See [[WoWBench/Extending]]. {{faqq}}Ok, fine, my AddOn loads and I get a prompt. Now what? :Whatever you want to do. :* Call functions in your AddOn directly from the prompt: ::: <code>MyAddOn_DoSomething("someParameter")</code> :* Make Alice, Bob or Charles (the default player characters) say something: ::: <code>say Alice Help! Help! The horrible Murloc Warrior is hitting me!</code> :* Fire an event: ::: <code>fire DUEL_REQUESTED Charles</code> :* Run a slash command: ::: <code>/myaddon dosomething</code> :* Look at the frame that popped up: ::: <code>look MyAddOnMainFrame</code> :* Click a button in it: ::: <code>click MyAddOnMainFrameIWinButton</code> :And much more :-) <div id="scripting"><!-- for link from first page--></div> {{faqq}}How do I run scripts? -Testing needs looots of repetition! :* You can automatically run wowbench command line scripts by giving names of .txt files on the command line, e.g.: ::<code>wowbench MyAddon script.txt</code> :* You can load and run Lua code on demand from the command prompt (or from inside a script file): ::<code>> dofile("myluacode.lua")</code> </div>
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)