View Feature Request | ||||||||||||||
|
Notes | Sort Options |
By: sirinsidiator - 10/26/16 06:28 AM |
LibSlashCommander won't work without LibStub, so what you want is pretty much not possible. However you can detect if LibSlashCommander is available without depending on it like this: local function InitLibSlashCommander() if not LibStub then return false end local LSC = LibStub("LibSlashCommander", true) if not LSC then return false end LSC:Register(aliases, callback, description) return true end if not InitLibSlashCommander() then -- init like before end |