View Single Post
07/06/14, 04:07 PM   #9
farangkao
 
farangkao's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 59
Originally Posted by zgrssd View Post
Wait, the list is space seperated?
Then I am wondering if my optional dependecies has ever been working like this:
Code:
## OptionalDependsOn: LibStub, timer, LibAddonMenu-2.0, LAM-1to2-Interface, libDebug, BugEater
If they are ignoring comma's it would propably work out. If not then this line never did anything (but the only one that really matered was BugEater anyway).
The Answer is simple, their code checks for a string that starts with "## OptionalDependsOn:" ,the rest of the string is then processes accordingly, the spaces don't matter then.
  Reply With Quote