Originally Posted by SDPhantom
It's just pure Lua code, meaning it doesn't run through any other addon. It's addon code by itself. You can either create a folder and ToC file for it or copy/paste the code into http://addon.bool.no to have it done for you.
|
I see! Thanks a lot. I tried using it with the help of that link, but when I start up the game all I get is this error:
Code:
Date: 2016-02-03 18:01:12
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\MyFirstAddOn\code.lua line 5:
function arguments expected near ','
Debug:
Locals:
AddOns:
Swatter, v5.0.0 (<%codename%>)
WowheadLooter, v60009
Auctionator, v3.2.6
Babylonian, v5.1.DEV.332(/embedded)
ColorPickerPlus, v
Configator, v5.1.DEV.376(/embedded)
DBMCore, v
DBMDefaultSkin, v
DBMStatusBarTimers, v
eAlign, v
Engraved, v1.6.1
EnhancedFriendsList, v1.2
Gatherer, v5.0.0
Grid2, vr786
Grid2AoeHeals, vr786
Grid2LDB, vr786
Grid2RaidDebuffs, vr786
GTFO, v4.37.6
kgPanels, v1.20
KuiNameplates, v260
KuiNameplatesAuras, v
MasterPlanA, vA
MikScrollingBattleText, v5.7.143
MogIt, v3.5.7
MogItAccessories, v
mountainomountsmop, vv2.2
MyFirstAddOn, v
BlizRuntimeLib_enUS v6.2.3.60200 <none>
(ck=28c)
and no red when low. Am I supposed to be changing something? I just put in exactly as your code was.