Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-11-10, 01:02 PM   #27
Cralor
Mmm... cookies!!!
 
Cralor's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 772
Yes. You can continue with your same file. Making a new file is unnecessary in the beginning. You only ever really need to make a new file if you want to separate major code parts. (Such as the "core" code of an AddOn and the "option" GUI of an AddOn.)

As for the code there, yes you can actually do it just like that. One thing, though. You need to change RAID_WARNING to "RAID_WARNING" (the quotes are necessary). Other than that, the only other issue is the misspelling of "Righteous".

Hope this helps.
__________________
Never be satisfied with satisfactory.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » First Addon - need help


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off