Tail end of Proximity.lua:
Code:
-------------------------------------------------------------------------------
-- Slash command
--
SlashCmdList.BigWigs_Proximity = function(input)
if not plugin:IsEnabled() then BigWigs:Enable() end
local range = tonumber(input)
if not range then
print("Usage: /proximity 1-100")
else
if range > 0 then
plugin:Open(range)
else
plugin:Close()
end
end
end
SLASH_BigWigs_Proximity1 = "/proximity"
SLASH_BigWigs_Proximity2 = "/range"
So correct syntax would be:
Code:
SlashCmdList.BigWigs_Proximity(range)